Functions
getCredentials
Retrieve all credentials' metadata from storage.
MobileCredentialMetadata does not include any credential claims or the verification result.
The returned array contains all credentials stored by the SDK, including those that are not currently valid.
You can filter invalid credentials using MobileCredentialMetadata.validityInfo.
Signature
function getCredentials(): Promise<Result<MobileCredentialMetadata[], GetCredentialsError>>Returns
Promise<Result<MobileCredentialMetadata[], GetCredentialsError>>
A promise that resolves to the metadata of every stored credential, without their claim values. An empty array when none are stored.
Throws
MobileCredentialHolderErrorType.SdkNotInitialized if the SDK has not been initialized.
How would you rate this page?