@celo/identity › "offchain/accessors/authorized-signer" › AuthorizedSignerAccessor
Class: AuthorizedSignerAccessor
Hierarchy
- AuthorizedSignerAccessor
Index
Constructors
Properties
Methods
Constructors
constructor
+ new AuthorizedSignerAccessor(wrapper
: OffchainDataWrapper): AuthorizedSignerAccessor
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:17
Parameters:
Name | Type |
---|---|
wrapper |
OffchainDataWrapper |
Returns: AuthorizedSignerAccessor
Properties
basePath
• basePath: string = "/account/authorizedSigners"
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:17
read
• read: function = makeAsyncThrowable(this.readAsResult.bind(this))
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:35
Type declaration:
▸ (...args
: TArgs): Promise‹TResult›
Parameters:
Name | Type |
---|---|
...args |
TArgs |
Readonly
wrapper
• wrapper: OffchainDataWrapper
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:18
Methods
readAsResult
▸ readAsResult(account
: Address, signer
: Address): Promise‹Result‹object, SchemaErrors››
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:20
Parameters:
Name | Type |
---|---|
account |
Address |
signer |
Address |
Returns: Promise‹Result‹object, SchemaErrors››
write
▸ write(signer
: Address, proofOfPossession
: string, filteredDataPaths
: string): Promise‹OffchainErrors | void›
Defined in packages/sdk/identity/src/offchain/accessors/authorized-signer.ts:37
Parameters:
Name | Type |
---|---|
signer |
Address |
proofOfPossession |
string |
filteredDataPaths |
string |
Returns: Promise‹OffchainErrors | void›