OAuthToken class

Access token and refresh token information.

Constructors

OAuthToken(String? accessToken, DateTime? accessTokenExpiresAt, String? refreshToken, DateTime? refreshTokenExpiresAt, List<String>? scopes)

Properties

accessToken String?
read / write
accessTokenExpiresAt DateTime?
Use this field with caution. Token might have expired on server side.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
refreshToken String?
read / write
refreshTokenExpiresAt DateTime?
Use this field with caution. Token might have expired on server side.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scopes List<String>?
List of scopes this user has agreed to when this token was issued.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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