Constructors
constructor
- new AuthProvider(appAddress, p?): AuthProvider
Properties
appId
appId: string
loginWithLink
loginWithSocial
Accessors
connected
- get connected(): boolean
Returns boolean
logo
- get logo(): {
horizontal: string;
vertical: string;
} Returns {
horizontal: string;
vertical: string;
}
horizontal: string
vertical: string
theme
- get theme(): Theme
Methods
connect
- connect(): Promise<EthereumProvider>
getLogins
- getLogins(): Promise<Logins[]>
Returns Promise<Logins[]>
getProvider
- getProvider(): ArcanaProvider
getPublicKey
- getPublicKey(email): Promise<string>
Returns Promise<string>
getUser
- getUser(): Promise<UserInfo>
Returns Promise<UserInfo>
available user info
init
- init(): Promise<AuthProvider>
isLoggedIn
- isLoggedIn(): Promise<boolean>
Returns Promise<boolean>
logout
- logout(): Promise<void>
Returns Promise<void>
A function to trigger passwordless login in the wallet