| 1 | /* This file is generated and managed by tsync */ |
| 2 | |
| 3 | export interface TokenResponse { |
| 4 | access_token: string; |
| 5 | expires_in: number; |
| 6 | refresh_token?: string; |
| 7 | refresh_token_expires_in?: string; |
| 8 | scope: string; |
| 9 | token_type: string; |
| 10 | } |
| 11 | |
| 12 | export interface OauthRedirect { |
| 13 | code: string; |
| 14 | scope: string; |
| 15 | authuser: number; |
| 16 | prompt: string; |
| 17 | } |
| 18 | |
| 19 | export interface UserInfo { |
| 20 | id: string; |
| 21 | email: string; |
| 22 | verified_email: boolean; |
| 23 | name: string; |
| 24 | given_name: string; |
| 25 | family_name: string; |
| 26 | picture: string; |
| 27 | } |