Skip to main content

CredentialStorage.findCredentialById() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

returns all credentials in the storage

Signature:

findCredentialById(id: string): Promise<W3CCredential | undefined>;

Parameters

ParameterTypeDescription
idstring

Returns:

Promise<W3CCredential | undefined>

Promise<W3CCredential[]>