Skip to content

Commit

Permalink
fix(types): add additional fields to TokenInfo (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Mar 1, 2020
1 parent 9536840 commit 5b48eb8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/auth/oauth2client.ts
Expand Up @@ -142,6 +142,18 @@ export interface TokenInfo {
* tokens.
*/
access_type?: string;

/**
* The user's email address. This value may not be unique to this user and
* is not suitable for use as a primary key. Provided only if your scope
* included the email scope value.
*/
email?: string;

/**
* True if the user's e-mail address has been verified; otherwise false.
*/
email_verified?: boolean;
}

interface TokenInfoRequest {
Expand Down

0 comments on commit 5b48eb8

Please sign in to comment.