ContentTypeJsonOrForm

class ContentTypeJsonOrForm(autoMarshallingJson: AutoMarshallingJson<*> = OAuthMoshi) : AccessTokenExtractor

Extracts a standard OAuth access token from JSON or Form encoded response.

Constructors

Link copied to clipboard
constructor(autoMarshallingJson: AutoMarshallingJson<*> = OAuthMoshi)

Functions

Link copied to clipboard
open operator override fun invoke(response: Response): Result<AccessTokenDetails, OAuthCallbackError.CouldNotFetchAccessToken>