ICredentialWallet.findNonRevokedCredential() method
Finds non-revoked credential from a given list by resolving their credential status
Signature:
findNonRevokedCredential(creds: W3CCredential[]): Promise<{
cred: W3CCredential;
revStatus: RevocationStatus;
}>;
Parameters
Parameter | Type | Description |
---|---|---|
creds | W3CCredential[] |
Returns:
Promise<{ cred: W3CCredential; revStatus: RevocationStatus; }>
{Promise<{ cred: W3CCredential; revStatus: RevocationStatus; }>
not revoked credential and it's revocation status