TokenResponse extension type

The object passed as the parameter of your TokenClientCallbackFn.

Data type: TokenResponse https://developers.google.com/identity/oauth2/web/reference/js-reference#TokenResponse

on
Implemented types
Available extensions

Properties

access_token String?
The access token of a successful token response.
no setter
error String?
A single ASCII error code.
no setter
error_description String?
Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred.
no setter
error_uri String?
A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
no setter
expires_in int?
The lifetime in seconds of the access token.
no setter
hashCode int
The hash code for this object.
no setterinherited
hd String?
The hosted domain the signed-in user belongs to.
no setter
prompt String?
The prompt value that was used from the possible list of values specified by TokenClientConfig or OverridableTokenClientConfig.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope List<String>
A list of scopes that are approved by the user.
no setter
state String?
The string value that your application uses to maintain state between your authorization request and the response.
no setter
token_type String?
The type of the token issued.
no setter

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