JWTConfiguration class

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Constructors

JWTConfiguration({List<String>? audience, String? issuer})
JWTConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

audience List<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.
final
hashCode int
The hash code for this object.
no setterinherited
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..amazonaws.com/ . Required for the JWT authorizer type. Supported only for HTTP APIs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited