JwtAuthenticationData class
JWT-based implementation of authentication data
- Inheritance
-
- Object
- AuthenticationData
- JwtAuthenticationData
- Available extensions
Constructors
-
JwtAuthenticationData({required Map<
String, dynamic> claims}) - Creates JWT authentication data from claims
Properties
-
claims
→ Map<
String, dynamic> -
Raw claims map from authentication source
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- jwt → JwtClaimsData
-
Available on AuthenticationData, provided by the AuthenticationDataJwtExtension extension
Structured JWT claims with standard fields and custom claimsno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
User ID extracted from authentication source
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited