AccessTokenOnly
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
.
Inherited functions
Casts this OpenIdConnectTokenSelection as a AccessTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectAccessTokenConfiguration value. Throws an exception if the OpenIdConnectTokenSelection is not a AccessTokenOnly.
Casts this OpenIdConnectTokenSelection as a AccessTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectAccessTokenConfiguration value. Returns null if the OpenIdConnectTokenSelection is not a AccessTokenOnly.
Casts this OpenIdConnectTokenSelection as a IdentityTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectIdentityTokenConfiguration value. Throws an exception if the OpenIdConnectTokenSelection is not a IdentityTokenOnly.
Casts this OpenIdConnectTokenSelection as a IdentityTokenOnly and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.OpenIdConnectIdentityTokenConfiguration value. Returns null if the OpenIdConnectTokenSelection is not a IdentityTokenOnly.