AccessTokenFetcher

class AccessTokenFetcher(api: HttpHandler, callbackUri: Uri, providerConfig: OAuthProviderConfig, accessTokenFetcherAuthenticator: AccessTokenFetcherAuthenticator, accessTokenExtractor: AccessTokenExtractor = ContentTypeJsonOrForm())

Constructors

Link copied to clipboard
constructor(api: HttpHandler, callbackUri: Uri, providerConfig: OAuthProviderConfig, accessTokenFetcherAuthenticator: AccessTokenFetcherAuthenticator, accessTokenExtractor: AccessTokenExtractor = ContentTypeJsonOrForm())

Functions

Link copied to clipboard
fun fetch(authCode: String, pkceVerifier: String? = null): Result<AccessTokenDetails, OAuthCallbackError.CouldNotFetchAccessToken>