GoogleIdentityStsV1ExchangeOauthTokenResponse class

Response message for ExchangeOauthToken.

see https://www.rfc-editor.org/rfc/rfc6749#section-5.1

Constructors

GoogleIdentityStsV1ExchangeOauthTokenResponse({String? accessToken, int? expiresIn, String? idToken, String? refreshToken, String? scope, String? tokenType})
GoogleIdentityStsV1ExchangeOauthTokenResponse.fromJson(Map json_)

Properties

accessToken String?
An OAuth 2.0 security token, issued by Google, in response to the Oauth token exchange request for the authorization code and refresh token flows.
getter/setter pair
expiresIn int?
The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expires.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idToken String?
Google issued ID token in response to the OAuth token exchange request for ID token flow.
getter/setter pair
refreshToken String?
A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
A list of scopes associated with the returned token.
getter/setter pair
tokenType String?
The type of token.
getter/setter pair

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