OpenIdConnectAccessTokenConfigurationProperty Struct
The configuration of an OpenID Connect (OIDC) identity source for handling access token claims.
Contains the claim that you want to identify as the principal in an authorization request, and the values of the aud claim, or audiences, that you want to accept.
This data type is part of a OpenIdConnectTokenSelection structure, which is a parameter of CreateIdentitySource .
- Source
- Generated code
- Type last changed
- v2.148.0 · 5 Jul 2024
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const openIdConnectAccessTokenConfigurationProperty: verifiedpermissions.CfnIdentitySource.OpenIdConnectAccessTokenConfigurationProperty = {
audiences: ['audiences'],
principalIdClaim: 'principalIdClaim',
};
Properties
audiences?optionalstring[]audiences?optionaltyping.List[str]audiences?optionalList<String>Audiences?optionalstring[]Audiences?optional*[]*string#The access token `aud` claim values that you want to accept in your policy store.
For example, https://myapp.example.com, https://myapp2.example.com .
principalIdClaim?optionalstringprincipal_id_claim?optionalstrprincipalIdClaim?optionalStringPrincipalIdClaim?optionalstringPrincipalIdClaim?optional*string= "sub"#The claim that determines the principal in OIDC access tokens.
For example, sub .