Skip to main content

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

Constructors

Constructor

new PKInstance(...args: [PKInstanceArgs]): PKInstance

Defined in: src/utils/tasks.ts:18

Parameters

ParameterTypeDescription
...args[PKInstanceArgs]

Returns

PKInstance

Inherited from

Task.constructor

Methods

log()

log(): unknown

Defined in: src/utils/tasks.ts:26

Returns

unknown

Inherited from

Task.log


run()

run(ctx: AgentContext): Promise<PublicKey | undefined>

Defined in: src/pollux/utils/jwt/PKInstance.ts:11

Parameters

ParameterType
ctxAgentContext

Returns

Promise<PublicKey | undefined>

Overrides

Task.run