Constructors

Properties

appId: string

Accessors

  • get logo(): {
        horizontal: string;
        vertical: string;
    }
  • Returns {
        horizontal: string;
        vertical: string;
    }

    • horizontal: string
    • vertical: string

Methods

  • A function to be called before trying to .reconnect()

    Returns Promise<boolean>

  • A function to request public key of other users

    NOTE: Currently does not work by default for most applications. MFA availability (which is enabled by default) has to be disabled for this to work.

    Parameters

    • email: string
    • verifier: Logins = 'google'

    Returns Promise<string>

  • A function to determine whether the user is logged in

    Returns Promise<boolean>

  • A function to trigger passwordless login in the wallet

    Parameters

    • email: string
    • OptionalemailSentHook: (() => void)
        • (): void
        • Returns void

    Returns Promise<EthereumProvider>

    use loginWithOTPStart and loginWithOTPComplete instead

  • A function to finish otp login

    Parameters

    • otp: string
    • OptionalonMFAFlow: (() => void)
        • (): void
        • Returns void

    Returns Promise<void>

  • A function to start otp login

    Parameters

    • email: string

    Returns Promise<{
        begin: (() => Promise<void>);
        isCompleteRequired: boolean;
    }>

  • A function to log out the user

    Returns Promise<void>

  • A function to try to reconnect to last login session. Should be called on event of click function as it opens a popup.

    Returns Promise<void>

  • A function to show wallet

    Returns void