UNPKG

607 BTypeScriptView Raw
1import GoogleUser from './GoogleUser';
2export declare type GoogleSignInType = 'default' | 'games';
3export declare type GoogleSignInOptions = {
4 scopes?: string[];
5 webClientId?: string;
6 hostedDomain?: string;
7 accountName?: string;
8 signInType?: GoogleSignInType;
9 isOfflineEnabled?: boolean;
10 isPromptEnabled?: boolean;
11 clientId?: string;
12 language?: string;
13 openIdRealm?: string;
14};
15export declare type GoogleSignInAuthResultType = 'success' | 'cancel';
16export declare type GoogleSignInAuthResult = {
17 type: GoogleSignInAuthResultType;
18 user?: GoogleUser | null;
19};