JwtLocation class

Specifies a location to extract JWT from an API request.

Constructors

JwtLocation()
JwtLocation.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
Specifies HTTP header name to extract JWT token.
read / write
query String
Specifies URL query parameter name to extract JWT token.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
valuePrefix 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.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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