AuthenticationToken class

Contains tokens for an authenticated user.

Annotations

Constructors

AuthenticationToken({String token, int userId, String userSignature})
Constructs a new AuthenticationToken.
AuthenticationToken.fromJson(Map<String, dynamic> json)
Constructs a new AuthenticationToken from a JSON map.
factory

Properties

token String
The token required for API account-specific API calls.
final
userId int
The ID of the authenticated user.
final
userSignature String
Some sort of hash related to the authenticated user, but it's not explained anywhere and the API doesn't make use of it.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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