Skip to main content

SelectiveDisclosure.getVerifiableCredentialsForSdr() 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.

Gathers the required credentials necessary to fulfill a Selective Disclosure Request. It uses a IDataStoreORM plugin implementation to query the local database for the required credentials.

Signature:

getVerifiableCredentialsForSdr(args: IGetVerifiableCredentialsForSdrArgs, context: IAgentContext<IDataStoreORM>): Promise<ICredentialsForSdr[]>;

Parameters

ParameterTypeDescription
argsIGetVerifiableCredentialsForSdrArgsContains the Request to be fulfilled and the DID of the subject
contextIAgentContext<IDataStoreORM>

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

This API may change without a BREAKING CHANGE notice.

Returns:

Promise<ICredentialsForSdr[]>