GoogleDriveUserCredentialPolicies
GoogleDriveUserCredentialPolicies Document
The GoogleDriveUserCredentialPolicies document describes the google-specific policy information included in a UserCredential. This document contains read-only data about the user’s Google OAuth tokens.
Name |
Type |
Description |
DATA_TYPE |
string |
Type of this document |
sub |
string |
OAuth subject identifier claim. |
string <email> |
OAuth email claim. |
|
access_token |
string |
OAuth access token. |
refresh_token |
string |
OAuth refresh token. |
scopes |
array (string) |
OAuth scopes associated with this access token. |
token_expiry |
string <date-time> |
OAuth access token expiration time. |
{
"DATA_TYPE": "google_drive_user_credential_policies#1.0.0",
"sub": "string",
"email": "user@example.com",
"access_token": "string",
"refresh_token": "string",
"scopes": [
"email",
"profile",
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.appfolder"
],
"token_expiry": "2020-02-04T21:44:12Z"
}