External module "sdk-identity/src/sdk/initGoogleLogin"
Functions
Const initGoogleAuth
- initGoogleAuth(clientId: undefined | string): Promise<void>
-
Parameters
-
Optional clientId: undefined | string
Returns Promise<void>
Const initGoogleAuthSDK
- initGoogleAuthSDK(clientId: undefined | string): Promise<void>
-
Parameters
-
Optional clientId: undefined | string
Returns Promise<void>
initGoogleLogin
- initGoogleLogin(clientId?: string, recaptchaToken: undefined | string, renderOptions?: GoogleSignInRenderOptions, buttonId?: string, customButton: undefined | false | true): Promise<void>
-
Parameters
-
Default value clientId: string = ""
-
Optional recaptchaToken: undefined | string
-
Default value renderOptions: GoogleSignInRenderOptions = {width: 240,height: 50,longtitle: true,theme: 'dark',scope: ['profile', 'email']}
-
Default value buttonId: string = "google-sign-in-button"
-
Optional customButton: undefined | false | true
Returns Promise<void>