AccessTokenInterceptor
class AccessTokenInterceptor @Inject constructor(credentialProvider: CredentialProvider) : <ERROR CLASS> ERROR CLASS: Symbol not found for Interceptor
Interceptor used to add Bearer Token authentication headers to requests.
This interceptor adds the access token to the request headers for endpoints that require Bearer Token Authentication.
The token is fetched from CredentialProvider on every request so that the SDK never holds credential state internally.
Parameters
credentialProvider
Supplies the access token at request time.