AuthorizationForToken

Authorization input used to request or refresh an OAuth2 access token. Use to indicate which grant or token exchange flow should be performed.

Inheritors

Types

Link copied to clipboard

Authorization code from an actual OAuth2 Authorization Server, or SimpleAuthorizationService.authorize.

Link copied to clipboard
data class PreAuthCode(val preAuthorizedCode: String, val transactionCode: String? = null) : OAuth2Client.AuthorizationForToken

Pre-auth code from CredentialOfferGrantsPreAuthCode.preAuthorizedCode in CredentialOfferGrants.preAuthorizedCode in CredentialOffer.grants, optionally with a transactionCode which is transmitted out-of-band, and may be entered by the user.

Link copied to clipboard

Refresh token for obtaining a new access token, see TokenResponseParameters.refreshToken.

Link copied to clipboard

Use a subjectToken provided by another entity to perform Token Exchange.