Class: Aws::ApiGatewayV2::Types::JWTConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApiGatewayV2::Types::JWTConfiguration
- Defined in:
- gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb
Overview
Note:
When making an API call, you may pass JWTConfiguration data as a hash:
{
audience: ["__string"],
issuer: "UriWithLengthBetween1And2048",
}
Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#audience ⇒ Array<String>
A list of the intended recipients of the JWT.
-
#issuer ⇒ String
The base domain of the identity provider that issues JSON Web Tokens.
Instance Attribute Details
#audience ⇒ Array<String>
A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
5694 5695 5696 5697 5698 5699 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 5694 class JWTConfiguration < Struct.new( :audience, :issuer) SENSITIVE = [] include Aws::Structure end |
#issuer ⇒ String
The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.*\{region\}.amazonaws.com/{userPoolId\}* . Required for the JWT authorizer type. Supported only for HTTP APIs.
5694 5695 5696 5697 5698 5699 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 5694 class JWTConfiguration < Struct.new( :audience, :issuer) SENSITIVE = [] include Aws::Structure end |