ICredentialStorage.findCredentialsByQuery() method
finds credential in the storage for given query
Signature:
findCredentialsByQuery(query: ProofQuery): Promise<W3CCredential[]>;
Parameters
Parameter | Type | Description |
---|---|---|
query | ProofQuery | query to apply |
Returns:
Promise<W3CCredential[]>
{Promise<W3CCredential[]>}