Skip to main content

Class: Web3Auth

Implements

Constructors

constructor

new Web3Auth(webBrowser, storage, initParams): Web3Auth

Parameters

NameType
webBrowserIWebBrowser
storageSecureStore | EncryptedStorage
initParamsSdkInitParams

Returns

Web3Auth

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:12

Properties

_authorizeSession

Private _authorizeSession: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:23


_syncState

Private _syncState: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:20


getLoginId

Private getLoginId: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:21


initParams

Private initParams: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:7


keyStore

Private keyStore: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:9


openloginHandler

Private openloginHandler: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:22


ready

ready: boolean

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:6


sessionManager

Private sessionManager: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:11


state

Private state: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:10


webBrowser

Private webBrowser: any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:8

Accessors

baseUrl

get baseUrl(): any

Returns

any

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:15


ed25519Key

get ed25519Key(): string

Returns

string

Implementation of

IWeb3Auth.ed25519Key

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:14


privKey

get privKey(): string

Returns

string

Implementation of

IWeb3Auth.privKey

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:13

Methods

init

init(): Promise<void>

Returns

Promise<void>

Implementation of

IWeb3Auth.init

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:16


login

login(loginParams): Promise<void>

Parameters

NameType
loginParamsSdkLoginParams

Returns

Promise<void>

Implementation of

IWeb3Auth.login

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:17


logout

logout(): Promise<void>

Returns

Promise<void>

Implementation of

IWeb3Auth.logout

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:18


userInfo

userInfo(): undefined | OpenloginUserInfo

Returns

undefined | OpenloginUserInfo

Implementation of

IWeb3Auth.userInfo

Defined in

node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:19