CredentialStorage class abstract
Interface for managing verifiable credentials storage.
Constructors
Properties
Methods
-
deleteCredential(
{required String digitalCredentialId, VaultCancelToken? cancelToken}) → Future< void> - Allows deleting a verifiableCredential Throws if the id does not match any credentials Throws for network connectivity
-
getCredential(
{required String digitalCredentialId, VaultCancelToken? cancelToken}) → Future< DigitalCredential> - Retrieves a DigitalCredential credential content from its id Throws if the id does not match any stored credentials Throws for network connectivity
-
listCredentials(
{int? limit, String? exclusiveStartItemId, VaultCancelToken? cancelToken}) → Future< PaginatedList< DigitalCredential> > - Allows retrieving a list of claimed credentials with pagination support Returns a PaginatedList containing the credentials and pagination information Throws for network connectivity
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String pexQuery) → dynamic - Queries credentials using a PEX query.
-
saveCredential(
{required VerifiableCredential verifiableCredential, VaultCancelToken? cancelToken}) → Future< void> - Allows saving verifiable credential data to claimed credentials Throws for network connectivity
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited