OAuth2TokenNext class

Inheritance
Mixed in types

Constructors

OAuth2TokenNext({required String accessToken, String? tokenType = 'bearer', int? expiresIn, String? refreshToken, String? scope})

Properties

accessToken String
The access token string as issued by the authorization server.
finalinherited
createdAt DateTime?
final
expiresIn int?
If the access token expires, the server should reply with the duration of time the access token is granted for.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
Token which applications can use to obtain another access token.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
Application scope granted as defined in https://oauth.net/2/scope
finalinherited
shouldBeRefreshed bool
no setteroverride
tokenType String?
The type of token this is, typically just the string “bearer”.
finalinherited

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