2.0.0 • Published 5 months ago

@welibraryos/capacitor-web3auth v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@welibraryos/capacitor-web3auth

Capacitor Plugin for Web3Auth Native SDK

Install

npm install @welibraryos/capacitor-web3auth
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


login(...)

login(options: W3ALoginParams) => Promise<{ result: W3ALoginResponse; }>
ParamType
optionsW3ALoginParams

Returns: Promise<{ result: W3ALoginResponse; }>


logout()

logout() => Promise<void>

Type Aliases

W3ALoginResponse

{ ed25519PrivKey?: string; privKey?: 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; verifierClientId: string; verifierName: string; verifierId: string; verifierTypeOfLogin: string; whiteLabelName?: string; whiteLabelLogoLight?: string; whiteLabelLogoDark?: string; whiteLabelDark?: boolean, whiteLabelPrimaryColor?: string; loginProvider: string; loginDomain?: string; loginIdToken?: string; loginVerifierIdField?: string; }

1.0.0

5 months ago

2.0.0

5 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago