TokenResponse class

Details from making a successful token exchange.

Implementers

Constructors

TokenResponse(String? accessToken, String? refreshToken, DateTime? accessTokenExpirationDateTime, String? idToken, String? tokenType, List<String>? scopes, Map<String, dynamic>? tokenAdditionalParameters)

Properties

accessToken String?
The access token returned by the authorization server.
final
accessTokenExpirationDateTime DateTime?
Indicates when accessToken will expire.
final
hashCode int
The hash code for this object.
no setterinherited
idToken String?
The id token returned by the authorization server.
final
refreshToken String?
The refresh token returned by the authorization server.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>?
Scopes of the access token. If scopes are identical to those originally requested, then this value is optional.
final
tokenAdditionalParameters Map<String, dynamic>?
Contains additional parameters returned by the authorization server from making the token request.
final
tokenType String?
The type of token returned by the authorization server.
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