RefreshToken class

Token used for refreshing a Session.

Annotations

Constructors

RefreshToken.new(RefreshTokenSecret secret, PreciseDateTime expireAt)
const
RefreshToken.fromJson(Map<String, dynamic> json)
Constructs RefreshToken from the provided json.
factory

Properties

expireAt PreciseDateTime
DateTime of this RefreshToken expiration.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret RefreshTokenSecret
Secret part of this RefreshToken.
final

Methods

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

Operators

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