BasicAuthenticationInterceptor
class BasicAuthenticationInterceptor @Inject constructor(credentialProvider: CredentialProvider) : <ERROR CLASS> ERROR CLASS: Symbol not found for Interceptor
Interceptor used to add Basic Authentication headers to requests.
This interceptor encodes the API user ID and API key in Base64 and adds them to the request headers for endpoints that require Basic Authentication.
Credentials are fetched from CredentialProvider on every request so that the SDK never holds credential state internally.
Parameters
credentialProvider
Supplies the API user ID and API key at request time.