AccessToken class

Token used for authenticating a Session.

Annotations

Constructors

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

Properties

expireAt PreciseDateTime
DateTime of this AccessToken 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 AccessTokenSecret
Secret part of this AccessToken.
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 these AccessToken.
toString() String
A string representation of this object.
override

Operators

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