Class: Aws::VerifiedPermissions::Types::OpenIdConnectTokenSelectionDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::OpenIdConnectTokenSelectionDetail
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-verifiedpermissions/types.rb
Overview
OpenIdConnectTokenSelectionDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OpenIdConnectTokenSelectionDetail corresponding to the set member.
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].
[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfigurationDetail.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
Direct Known Subclasses
Defined Under Namespace
Classes: AccessTokenOnly, IdentityTokenOnly, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access_token_only ⇒ Types::OpenIdConnectAccessTokenConfigurationDetail
The OIDC configuration for processing access tokens.
-
#identity_token_only ⇒ Types::OpenIdConnectIdentityTokenConfigurationDetail
The OIDC configuration for processing identity (ID) tokens.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#access_token_only ⇒ Types::OpenIdConnectAccessTokenConfigurationDetail
The OIDC configuration for processing access tokens. Contains allowed audience claims, for example ‘auth.example.com`, and the claim that you want to map to the principal, for example `sub`.
3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3146 class OpenIdConnectTokenSelectionDetail < Struct.new( :access_token_only, :identity_token_only, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccessTokenOnly < OpenIdConnectTokenSelectionDetail; end class IdentityTokenOnly < OpenIdConnectTokenSelectionDetail; end class Unknown < OpenIdConnectTokenSelectionDetail; end end |
#identity_token_only ⇒ Types::OpenIdConnectIdentityTokenConfigurationDetail
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`.
3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3146 class OpenIdConnectTokenSelectionDetail < Struct.new( :access_token_only, :identity_token_only, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AccessTokenOnly < OpenIdConnectTokenSelectionDetail; end class IdentityTokenOnly < OpenIdConnectTokenSelectionDetail; end class Unknown < OpenIdConnectTokenSelectionDetail; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3146 3147 3148 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3146 def unknown @unknown end |