TokenResponse class abstract
The object passed as the parameter of your TokenClientCallbackFn.
Data type: TokenResponse https://developers.google.com/identity/oauth2/web/reference/js-reference#TokenResponse
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
Properties
- access_token → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
The access token of a successful token response.no setter - error → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
A single ASCII error code.no setter - error_description → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred.no setter - error_uri → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
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?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
The lifetime in seconds of the access token.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hd → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
The hosted domain the signed-in user belongs to.no setter - prompt → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
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> -
Available on TokenResponse, provided by the TokenResponseExtension extension
A list of scopes that are approved by the user.no setter - state → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
The string value that your application uses to maintain state between your authorization request and the response.no setter - token_type → String?
-
Available on TokenResponse, provided by the TokenResponseExtension extension
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