capacitor-web3auth
v0.1.0
Published
capacitor web3auth plugin
Readme
capacitor-web3auth
capacitor web3auth plugin
Install
npm install capacitor-web3auth
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
login(...)
login(options: W3ALoginParams) => Promise<{ result: W3ALoginResponse; }>| Param | Type |
| ------------- | --------------------------------------------------------- |
| options | W3ALoginParams |
Returns: Promise<{ result: W3ALoginResponse; }>
logout()
logout() => Promise<void>Type Aliases
W3ALoginResponse
{ privKey?: string; ed25519PrivateKey?: string; userInfo?: W3AUserInfo; sessionId?: string; }
W3AUserInfo
{ aggregateVerifier?: string; email?: string; name?: string; profileImage?: string; typeOfLogin?: string; verifier?: string; verifierId?: string; dappShare?: string; idToken?: string; oAuthIdToken?: string; oAuthAccessToken?: string; }
W3ALoginParams
{ clientId: string; network: string; provider: string; loginHint?: string; redirectUrl?: string; }
