Class: Aws::APIGateway::Types::JwtAdditionalClaim

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

Overview

An additional claim rule for an issuer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#claim_name ⇒ String

The name of the claim to check. The value cannot be empty and cannot be iss, aud, exp, nbf, iat, scope, or scp.

Returns:

  • (String)


3803
3804
3805
3806
3807
3808
3809
3810
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3803

class JwtAdditionalClaim < Struct.new(
  :claim_name,
  :format,
  :required,
  :expected_values)
  SENSITIVE = []
  include Aws::Structure
end

#expected_values ⇒ Array<String>

The accepted value for the claim. The value cannot be empty. When a value is specified, the claim must match it exactly, and the match is case-sensitive. When no value is specified, the claim only has to be present.

Returns:

  • (Array<String>)


3803
3804
3805
3806
3807
3808
3809
3810
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3803

class JwtAdditionalClaim < Struct.new(
  :claim_name,
  :format,
  :required,
  :expected_values)
  SENSITIVE = []
  include Aws::Structure
end

#format ⇒ String

The format of the claim value. The only valid value is SINGLE_STRING.

Returns:

  • (String)


3803
3804
3805
3806
3807
3808
3809
3810
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3803

class JwtAdditionalClaim < Struct.new(
  :claim_name,
  :format,
  :required,
  :expected_values)
  SENSITIVE = []
  include Aws::Structure
end

#required ⇒ Boolean

Specifies whether the claim must be present in the token. Defaults to false. When true, the token must contain the claim.

Returns:

  • (Boolean)


3803
3804
3805
3806
3807
3808
3809
3810
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3803

class JwtAdditionalClaim < Struct.new(
  :claim_name,
  :format,
  :required,
  :expected_values)
  SENSITIVE = []
  include Aws::Structure
end