Hello
My goal is to access current AccessTokens in an OkHttp intercepter. For this I used the following documentations:
- Auth0.Android Save and Renew Tokens (how do I get current access tokens in general).
- Fetch access token Synchronously - #3 by minarik (how do I access them synchronously)
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.