provideApiAuthenticator

@Provides
@Singleton
fun provideApiAuthenticator(basicAuthCredentials: BasicAuthCredentials, accessTokenCredentials: AccessTokenCredentials): AuthInterface

Provides an instance of AuthInterface.

Return

An instance of AuthInterface implemented by AuthImplementation.

Parameters

basicAuthCredentials

The basic authentication credentials.

accessTokenCredentials

The access token credentials.