Skip to main content

Class: Web3AuthKeyProvider

Hierarchy

  • PrivateKeyProvider

    Web3AuthKeyProvider

Constructors

constructor

new Web3AuthKeyProvider(web3auth, params): Web3AuthKeyProvider

Parameters

NameType
web3authWeb3Auth
paramsWeb3AuthKeyProviderParams

Returns

Web3AuthKeyProvider

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

NameType
observerObserver<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

NameType
observerObserver<PrivateKeyProviderStatus>

Returns

void

Inherited from

PrivateKeyProvider.removeStatusListener

Defined in

packages/core/build/signers/privatekey.d.ts:35


updateStatus

updateStatus(newStatus): void

Parameters

NameType
newStatusPrivateKeyProviderStatus

Returns

void

Inherited from

PrivateKeyProvider.updateStatus

Defined in

packages/core/build/signers/privatekey.d.ts:36