Skip to main content

Interface: DidEndpoint

Methods

authorize

authorize(context): Promise<AuthorizationResult[]>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<AuthorizationResult[]>

Defined in

packages/klayr-decentralized-identifier/src/types/endpoint.ts:11


getConfig

getConfig(context): Promise<DidModuleConfig>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<DidModuleConfig>

Defined in

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


getNonce

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

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<{ nonce: string }>

Defined in

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


init

init(config): void

Parameters

NameType
configDidModuleConfig

Returns

void

Defined in

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


read

read(context): Promise<undefined | DidDocument>

Parameters

NameType
contextModuleEndpointContext

Returns

Promise<undefined | DidDocument>

Defined in

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