AuthorizationTokenResponse class

Represents an OAuth2 authorization token.

Constructors

AuthorizationTokenResponse(String accessToken, {String? refreshToken, int? expiresIn, Iterable<String>? scope})
const

Properties

accessToken String
The string that third parties should use to act on behalf of the user in question.
final
expiresIn int?
An optional, but recommended integer that signifies the time left until the accessToken expires.
final
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
An optional key that can be used to refresh the accessToken past its expiration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Iterable<String>?
Optional, if identical to the scope requested by the client; otherwise, required.
final

Methods

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

Operators

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