UNPKG

576 BTypeScriptView Raw
1import GoogleAuthentication from './GoogleAuthentication';
2import GoogleIdentity from './GoogleIdentity';
3declare class GoogleUser extends GoogleIdentity {
4 auth: GoogleAuthentication | null;
5 scopes: string[];
6 hostedDomain?: string;
7 serverAuthCode?: string;
8 constructor(options: any);
9 clearCache: () => Promise<any>;
10 getHeaders: () => {
11 [key: string]: string;
12 };
13 refreshAuth: () => Promise<GoogleAuthentication | null>;
14 equals(other: any): boolean;
15 toJSON(): {
16 [key: string]: any;
17 };
18}
19export default GoogleUser;