JwtLocationResponse class

Specifies a location to extract JWT from an API request.

Constructors

JwtLocationResponse({required Input<String> cookie, required Input<String> header, required Input<String> query, required Input<String> valuePrefix})
Creates a new JwtLocationResponse. cookie Specifies cookie name to extract JWT token. header Specifies HTTP header name to extract JWT token. query Specifies URL query parameter name to extract JWT token. valuePrefix The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
const
JwtLocationResponse.fromMap(Map<String, dynamic> map)
factory

Properties

Specifies cookie name to extract JWT token.
final
hashCode → int
The hash code for this object.
no setterinherited
Specifies HTTP header name to extract JWT token.
final
query → Input<String>
Specifies URL query parameter name to extract JWT token.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valuePrefix → Input<String>
The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
final

Methods

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

Operators

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