Skip to main content

SelectiveDisclosure.createSelectiveDisclosureRequest() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Creates a Selective disclosure request, encoded as a JWT.

Signature:

createSelectiveDisclosureRequest(args: ICreateSelectiveDisclosureRequestArgs, context: IAgentContext<IDIDManager & IKeyManager>): Promise<string>;

Parameters

ParameterTypeDescription
argsICreateSelectiveDisclosureRequestArgsThe param object with the properties necessary to create the request. See ISelectiveDisclosureRequest
contextIAgentContext<IDIDManager & IKeyManager>

*RESERVED* This is filled by the framework when the method is called.

This API may change without a BREAKING CHANGE notice.

Returns:

Promise<string>

Remarks

See uPort Selective Disclosure