@inrupt/solid-client-vc / lookup/derive
Module: lookup/derive#
References#
default#
Renames and re-exports getVerifiableCredentialAllFromShape
Functions#
getVerifiableCredentialAllFromShape#
▸ getVerifiableCredentialAllFromShape(holderEndpoint
, vcShape
, options?
): Promise
<VerifiableCredential
[]>
Look up VCs from a given holder according to a subset of their claims, such as the VC type, or any property associated to the subject in the VC. The holder is expected to implement the W3C VC Holder HTTP API.
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
The |
|
|
The subset of claims you expect the matching VCs to contain. |
|
|
Optional parameter: - |
Returns#
Promise
<VerifiableCredential
[]>
A list of VCs matching the given VC shape. The list may be empty if the holder does not hold any matching VC.
Since
0.1.0
Defined in#
src/lookup/derive.ts:96