TokenExchange

data class TokenExchange(val value: TokenExchangeGrant) : Grant

Configuration options for the urn:ietf:params:oauth:grant-type:token-exchange grant type.

Constructors

Link copied to clipboard
constructor(value: TokenExchangeGrant)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard