Class: Aws::VerifiedPermissions::Types::OpenIdConnectAccessTokenConfigurationDetail

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-verifiedpermissions/types.rb

Overview

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 [OpenIdConnectTokenSelectionDetail] structure, which is a parameter of [GetIdentitySource].

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectTokenSelectionDetail.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html

Constant Summary collapse

SENSITIVE =
[:principal_id_claim]

Instance Attribute Summary collapse

Instance Attribute Details

#audiencesArray<String>

The access token ‘aud` claim values that you want to accept in your policy store. For example, `myapp.example.com, myapp2.example.com`.

Returns:

  • (Array<String>)


2683
2684
2685
2686
2687
2688
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2683

class OpenIdConnectAccessTokenConfigurationDetail < Struct.new(
  :principal_id_claim,
  :audiences)
  SENSITIVE = [:principal_id_claim]
  include Aws::Structure
end

#principal_id_claimString

The claim that determines the principal in OIDC access tokens. For example, ‘sub`.

Returns:

  • (String)


2683
2684
2685
2686
2687
2688
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2683

class OpenIdConnectAccessTokenConfigurationDetail < Struct.new(
  :principal_id_claim,
  :audiences)
  SENSITIVE = [:principal_id_claim]
  include Aws::Structure
end