Class: Aws::VerifiedPermissions::Types::OpenIdConnectAccessTokenConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-verifiedpermissions/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 OpenIdConnectTokenSelection structure, which is a parameter of CreateIdentitySource.

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, https://myapp.example.com, https://myapp2.example.com.

Returns:

  • (Array<String>)


2495
2496
2497
2498
2499
2500
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2495

class OpenIdConnectAccessTokenConfiguration < 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)


2495
2496
2497
2498
2499
2500
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2495

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