Class: Web3Auth
Implements
Constructors
constructor
• new Web3Auth(webBrowser
, storage
, initParams
): Web3Auth
Parameters
Name | Type |
---|---|
webBrowser | IWebBrowser |
storage | SecureStore | EncryptedStorage |
initParams | SdkInitParams |
Returns
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
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:14
privKey
• get
privKey(): string
Returns
string
Implementation of
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:13
Methods
init
▸ init(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:16
login
▸ login(loginParams
): Promise
<void
>
Parameters
Name | Type |
---|---|
loginParams | SdkLoginParams |
Returns
Promise
<void
>
Implementation of
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:17
logout
▸ logout(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:18
userInfo
▸ userInfo(): undefined
| OpenloginUserInfo
Returns
undefined
| OpenloginUserInfo
Implementation of
Defined in
node_modules/@web3auth/react-native-sdk/dist/types/Web3Auth.d.ts:19