Skip to main content

Interface: DidEndpoint

did.DidEndpoint

Implemented by

Methods

authorize

authorize(context): Promise<AuthorizationResult[]>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<AuthorizationResult[]>

Defined in

packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:10


getConfig

getConfig(context): Promise<DidModuleConfig>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<DidModuleConfig>

Defined in

packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:7


getNonce

getNonce(context): Promise<{ nonce: string }>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<{ nonce: string }>

Defined in

packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:9


init

init(config): void

Parameters

NameType
configDidModuleConfig

Returns

void

Defined in

packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:6


read

read(context): Promise<undefined | DidDocument>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<undefined | DidDocument>

Defined in

packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:8