Class: Aws::VerifiedPermissions::Types::OpenIdConnectTokenSelectionDetail

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

Overview

Note:

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.

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::OpenIdConnectAccessTokenConfigurationDetail

The OIDC configuration for processing access tokens. Contains allowed audience claims, for example https://auth.example.com, and the claim that you want to map to the principal, for example sub.



2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2991

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_onlyTypes::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.



2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2991

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2991
2992
2993
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2991

def unknown
  @unknown
end