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