Interface: DidEndpoint
did.DidEndpoint
Implemented by
Methods
authorize
▸ authorize(context
): Promise
<AuthorizationResult
[]>
Parameters
Name | Type |
---|---|
context | ModuleEndpointContext |
Returns
Promise
<AuthorizationResult
[]>
Defined in
packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:10
getConfig
▸ getConfig(context
): Promise
<DidModuleConfig
>
Parameters
Name | Type |
---|---|
context | ModuleEndpointContext |
Returns
Promise
<DidModuleConfig
>
Defined in
packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:7
getNonce
▸ getNonce(context
): Promise
<{ nonce
: string
}>
Parameters
Name | Type |
---|---|
context | ModuleEndpointContext |
Returns
Promise
<{ nonce
: string
}>
Defined in
packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:9
init
▸ init(config
): void
Parameters
Name | Type |
---|---|
config | DidModuleConfig |
Returns
void
Defined in
packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:6
read
▸ read(context
): Promise
<undefined
| DidDocument
>
Parameters
Name | Type |
---|---|
context | ModuleEndpointContext |
Returns
Promise
<undefined
| DidDocument
>
Defined in
packages/klayr-decentralized-identifier/dist/types/endpoint.d.ts:8