GrantType
Represents the OAuth 2.0 grant type. Determines the mechanism Okta uses to authorize the creation of the tokens.
This sealed class allows for a fixed set of standard grant types as well as custom ones.
See also
Inheritors
Types
Link copied to clipboard
The authorization code grant type is used to obtain both access tokens and refresh tokens and is optimized for confidential clients.
Link copied to clipboard
The device authorization grant is used by browserless or input-constrained devices in the device flow to obtain an access token.
Link copied to clipboard
The refresh token grant type is used by clients to exchange a refresh token for a new access token when the current access token becomes invalid or expires.
Link copied to clipboard
A grant type for exchanging a token of one type for a token of another type.