AuthData class

A data received during auth process.

Constructors

AuthData(String token, String idToken, int userID, int expireTime, User userData, Set<String> scopes)
Constructs AuthData instance.

Properties

expireTime → int
An expiration time of the token. Is a timestamp in milliseconds. If the value is -1 the token will never expire.
final
hashCode → int
The hash code for this object.
no setterinherited
idToken → String
An id token which can be used to access /oauth2/public_info.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → Set<String>
A set of scopes which were granted to token.
final
token → String
An access token which can be used to access VK API.
final
userData → User
The data of the user account which was used for auth.
final
userID → int
The id of the user account which was used for auth.
final

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