OpenIdConnectTokenSelectionDetail
The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
This data type is part of a OpenIdConnectConfigurationDetail structure, which is a parameter of GetIdentitySource.
Inheritors
Types
The OIDC configuration for processing access tokens. Contains allowed audience claims, for example https://auth.example.com
, and the claim that you want to map to the principal, for example sub
.
The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example 1example23456789
, and the claim that you want to map to the principal, for example sub
.
Functions
Casts this OpenIdConnectTokenSelectionDetail as a AccessTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectAccessTokenConfigurationDetail value. Throws an exception if the OpenIdConnectTokenSelectionDetail is not a AccessTokenOnly.
Casts this OpenIdConnectTokenSelectionDetail as a AccessTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectAccessTokenConfigurationDetail value. Returns null if the OpenIdConnectTokenSelectionDetail is not a AccessTokenOnly.
Casts this OpenIdConnectTokenSelectionDetail as a IdentityTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectIdentityTokenConfigurationDetail value. Throws an exception if the OpenIdConnectTokenSelectionDetail is not a IdentityTokenOnly.
Casts this OpenIdConnectTokenSelectionDetail as a IdentityTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectIdentityTokenConfigurationDetail value. Returns null if the OpenIdConnectTokenSelectionDetail is not a IdentityTokenOnly.