Class: Web3AuthKeyProvider
Hierarchy
PrivateKeyProvider
↳
Web3AuthKeyProvider
Constructors
constructor
• new Web3AuthKeyProvider(web3auth
, params
): Web3AuthKeyProvider
Parameters
Name | Type |
---|---|
web3auth | Web3Auth |
params | Web3AuthKeyProviderParams |
Returns
Overrides
PrivateKeyProvider.constructor
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:34
Properties
keyProviderStatus
• Protected
keyProviderStatus: PrivateKeyProviderStatus
Inherited from
PrivateKeyProvider.keyProviderStatus
Defined in
packages/core/build/signers/privatekey.d.ts:33
loginParams
• Private
Readonly
loginParams: SdkLoginParams
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:28
privateKey
• Private
Optional
privateKey: PrivateKey
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:32
triggerLogoutOnIos
• Private
Readonly
triggerLogoutOnIos: boolean
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:30
web3auth
• Private
Readonly
web3auth: Web3Auth
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:26
Accessors
status
• get
status(): PrivateKeyProviderStatus
Returns
PrivateKeyProviderStatus
Inherited from
PrivateKeyProvider.status
Defined in
packages/core/build/signers/privatekey.d.ts:38
Methods
addStatusListener
▸ addStatusListener(observer
): void
Parameters
Name | Type |
---|---|
observer | Observer <PrivateKeyProviderStatus > |
Returns
void
Inherited from
PrivateKeyProvider.addStatusListener
Defined in
packages/core/build/signers/privatekey.d.ts:34
assertConnected
▸ assertConnected(): void
Returns
void
Inherited from
PrivateKeyProvider.assertConnected
Defined in
packages/core/build/signers/privatekey.d.ts:37
connect
▸ connect(): Promise
<void
>
Returns
Promise
<void
>
Overrides
PrivateKeyProvider.connect
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:45
disconnect
▸ disconnect(): Promise
<void
>
Returns
Promise
<void
>
Overrides
PrivateKeyProvider.disconnect
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:72
getPrivateKey
▸ getPrivateKey(): Promise
<PrivateKey
>
Returns
Promise
<PrivateKey
>
Overrides
PrivateKeyProvider.getPrivateKey
Defined in
packages/web3auth-mobile/src/privatekeyprovider.ts:87
removeStatusListener
▸ removeStatusListener(observer
): void
Parameters
Name | Type |
---|---|
observer | Observer <PrivateKeyProviderStatus > |
Returns
void
Inherited from
PrivateKeyProvider.removeStatusListener
Defined in
packages/core/build/signers/privatekey.d.ts:35
updateStatus
▸ updateStatus(newStatus
): void
Parameters
Name | Type |
---|---|
newStatus | PrivateKeyProviderStatus |
Returns
void
Inherited from
PrivateKeyProvider.updateStatus
Defined in
packages/core/build/signers/privatekey.d.ts:36