Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sdk-identity/src/sdk/initGoogleLogin"

Index

Functions

Const initGoogleAuth

  • initGoogleAuth(clientId: undefined | string): Promise<void>

Const initGoogleAuthSDK

  • initGoogleAuthSDK(clientId: undefined | string): 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>