Grant
The Grant union represents the set of possible configuration options for the selected grant type. Exactly one member of the union must be specified, and must match the grant type selected.
Inheritors
Types
Configuration options for the authorization_code
grant type.
Configuration options for the urn:ietf:params:oauth:grant-type:jwt-bearer
grant type.
Configuration options for the refresh_token
grant type.
Configuration options for the urn:ietf:params:oauth:grant-type:token-exchange
grant type.
Functions
Casts this Grant as a AuthorizationCode and retrieves its aws.sdk.kotlin.services.ssoadmin.model.AuthorizationCodeGrant value. Throws an exception if the Grant is not a AuthorizationCode.
Casts this Grant as a AuthorizationCode and retrieves its aws.sdk.kotlin.services.ssoadmin.model.AuthorizationCodeGrant value. Returns null if the Grant is not a AuthorizationCode.
Casts this Grant as a JwtBearer and retrieves its aws.sdk.kotlin.services.ssoadmin.model.JwtBearerGrant value. Throws an exception if the Grant is not a JwtBearer.
Casts this Grant as a JwtBearer and retrieves its aws.sdk.kotlin.services.ssoadmin.model.JwtBearerGrant value. Returns null if the Grant is not a JwtBearer.
Casts this Grant as a RefreshToken and retrieves its aws.sdk.kotlin.services.ssoadmin.model.RefreshTokenGrant value. Throws an exception if the Grant is not a RefreshToken.
Casts this Grant as a RefreshToken and retrieves its aws.sdk.kotlin.services.ssoadmin.model.RefreshTokenGrant value. Returns null if the Grant is not a RefreshToken.
Casts this Grant as a TokenExchange and retrieves its aws.sdk.kotlin.services.ssoadmin.model.TokenExchangeGrant value. Throws an exception if the Grant is not a TokenExchange.
Casts this Grant as a TokenExchange and retrieves its aws.sdk.kotlin.services.ssoadmin.model.TokenExchangeGrant value. Returns null if the Grant is not a TokenExchange.