Access CredentialsManager in Retrofit2 Service (for intercepting auth header)

Hello :slight_smile:

My goal is to access current AccessTokens in an OkHttp intercepter. For this I used the following documentations:

Now I have the following problem: The documentation does not address how to access the CredentialsManager in a Retrofit2 Service / Okhttp Intercepter, which requires an Android Context.

Is there a reference implementation for this or do you have an idea how I can implement this.

Thanks for your help.