PKInstance
@hyperledger/identus-sdk v7.0.0
@hyperledger/identus-sdk / overview / PKInstance
Class: PKInstance
Defined in: src/pollux/utils/jwt/PKInstance.ts:10
A Task encapsulates a unit of work
args constructor parameter is mandatory if Args type given args constructor parameter is optional if no Args type given
Extends
- Task<- PublicKey|- undefined,- PKInstanceArgs>
Constructors
Constructor
new PKInstance(...
args: [PKInstanceArgs]):PKInstance
Defined in: src/utils/tasks.ts:18
Parameters
| Parameter | Type | Description | 
|---|---|---|
| ... args | [ PKInstanceArgs] | 
Returns
PKInstance
Inherited from
Methods
log()
log():
unknown
Defined in: src/utils/tasks.ts:26
Returns
unknown
Inherited from
run()
run(
ctx:AgentContext):Promise<PublicKey|undefined>
Defined in: src/pollux/utils/jwt/PKInstance.ts:11
Parameters
| Parameter | Type | 
|---|---|
| ctx | AgentContext | 
Returns
Promise<PublicKey | undefined>