Skip to main content

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

ParameterTypeDescription
credsW3CCredential[]

Returns:

Promise<{ cred: W3CCredential; revStatus: RevocationStatus; }>

{Promise<{ cred: W3CCredential; revStatus: RevocationStatus; }> not revoked credential and it's revocation status