Class: Aws::VerifiedPermissions::Types::UpdateOpenIdConnectTokenSelection

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

Overview

Note:

UpdateOpenIdConnectTokenSelection is a union - when making an API calls you must set exactly one of the members.

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 [UpdateOpenIdConnectConfiguration] structure, which is a parameter to [UpdateIdentitySource].

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateOpenIdConnectConfiguration.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateIdentitySource.html

Direct Known Subclasses

AccessTokenOnly, IdentityTokenOnly, Unknown

Defined Under Namespace

Classes: AccessTokenOnly, IdentityTokenOnly, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_token_onlyTypes::UpdateOpenIdConnectAccessTokenConfiguration

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`.



4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4198

class UpdateOpenIdConnectTokenSelection < Struct.new(
  :access_token_only,
  :identity_token_only,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccessTokenOnly < UpdateOpenIdConnectTokenSelection; end
  class IdentityTokenOnly < UpdateOpenIdConnectTokenSelection; end
  class Unknown < UpdateOpenIdConnectTokenSelection; end
end

#identity_token_onlyTypes::UpdateOpenIdConnectIdentityTokenConfiguration

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`.



4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4198

class UpdateOpenIdConnectTokenSelection < Struct.new(
  :access_token_only,
  :identity_token_only,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccessTokenOnly < UpdateOpenIdConnectTokenSelection; end
  class IdentityTokenOnly < UpdateOpenIdConnectTokenSelection; end
  class Unknown < UpdateOpenIdConnectTokenSelection; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4198
4199
4200
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 4198

def unknown
  @unknown
end