Skip to content

k1ngcyk/capacitor-web3auth

Repository files navigation

capacitor-web3auth

capacitor web3auth plugin

Install

npm install capacitor-web3auth
npx cap sync

API

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; }

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published