ExchangeTokenResponse

Response message for common.token. see Response

JSON representation
{
  "access_token": string,
  "refresh_token": string,
  "expires_in": integer,
  "token_type": string,
  "scope": string,
  "id_token": string
}
Fields
access_token

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.

The returned access token. Tokens can vary in size, depending, in part, on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.

refresh_token

string

A refresh token, issued by Google, in response to the OAuth token exchange request for the refresh token flow.

expires_in

integer

The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire.

token_type

string

The type of token. Field reserved for RFC compliance. See Token Type

scope

string

A list of scopes associated with the returned token.

id_token

string

Google issued ID token in response to the OAuth token exchange request for ID token flow.