JwtTokenInfo class abstract
DTO for transferring JWT token information between server and client.
- Implemented types
Constructors
Properties
- authUserId ↔ UuidValue
-
The AuthUser this refresh token belongs to.
getter/setter pair
- createdAt ↔ DateTime
-
The time when this session was initially created.
getter/setter pair
- extraClaimsJSON ↔ String?
-
Extra claims set on this session.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ UuidValue
-
getter/setter pair
- lastUpdatedAt ↔ DateTime
-
The last time when a new token pair was created for this session.
getter/setter pair
- method ↔ String
-
The method through which this token was created.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopeNames
↔ Set<
String> -
The scopes given to this session.
getter/setter pair
Methods
-
copyWith(
{UuidValue? id, UuidValue? authUserId, Set< String> ? scopeNames, String? extraClaimsJSON, DateTime? lastUpdatedAt, DateTime? createdAt, String? method}) → JwtTokenInfo - Returns a shallow copy of this JwtTokenInfo with some or all fields replaced by the given arguments.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a serialized JSON structure of the model which also includes
fields used by the database.
override
-
toJsonForProtocol(
) → Map< String, dynamic> -
Returns a JSON structure of the model, optimized for Protocol communication.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited