AccessToken

The access token represents the authorization of a specific application to access specific parts of a user's data.

JSON representation
{
  "accessToken": string,
  "accessTokenExpireTime": string,
  "tokenType": string,
  "refreshToken": string,
  "refreshTokenExpireTime": string
}
Fields
accessToken

string

The access token encapsulating the security identity of a process or thread.

accessTokenExpireTime

string (Timestamp format)

Required. The approximate time until the access token retrieved is valid.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

tokenType

string

Only support "bearer" token in v1 as bearer token is the predominant type used with OAuth 2.0.

refreshToken

string

If the access token will expire, use the refresh token to obtain another access token.

refreshTokenExpireTime

string (Timestamp format)

The approximate time until the refresh token retrieved is valid.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".