Constructors
Properties
Accessors
connected
- get connected(): boolean
Returns boolean
logo
- get logo(): {
horizontal: string;
vertical: string;
} Returns {
horizontal: string;
vertical: string;
}
horizontal: string
vertical: string
Methods
canReconnect
- canReconnect(): Promise<boolean>
Returns Promise<boolean>
getPublicKey
- getPublicKey(email, verifier?): Promise<string>
Parameters
- email: string
- verifier: Logins = 'google'
Returns Promise<string>
isLoggedIn
- isLoggedIn(): Promise<boolean>
Returns Promise<boolean>
loginWithBearer
- loginWithBearer(type, data): Promise<boolean>
Returns Promise<boolean>
loginWithLink
- loginWithLink(email, emailSentHook?): Promise<EthereumProvider>
Parameters
- email: string
Optional
emailSentHook: (() => void)
loginWithOTPComplete
- loginWithOTPComplete(otp, onMFAFlow?): Promise<void>
Parameters
- otp: string
Optional
onMFAFlow: (() => void)
Returns Promise<void>
loginWithOTPStart
- loginWithOTPStart(email): Promise<{
begin: (() => Promise<void>);
isCompleteRequired: boolean;
}> Returns Promise<{
begin: (() => Promise<void>);
isCompleteRequired: boolean;
}>
logout
- logout(): Promise<void>
Returns Promise<void>
reconnect
- reconnect(): Promise<void>
Returns Promise<void>
showWallet
- showWallet(): void
Returns void
A function to be called before trying to .reconnect()