To Remove Claims: removeClaims
and removeClaim
The credentials stored on the SDK storage can be removed locally by the Integrator. They remain on the Issuer unless it removes them.
Remove Credentials: removeClaims
The removeClaims()
method removes credentials from the storage based on a list of claimIds
:
Future<void> removeClaims({required List<String> claimIds,
required String did,
required String privateKey});
claimids
are the IDs of the credentials.
privateKey
of the identity is a key that is used to access the sensitive information of the identity. This key is also used for generating proofs by using the credentials associated with the identity.
did
is the unique id of the identity.
Remove a single Credential: removeClaim
A single credential can also be removed from the storage based on its credential ID.
The removeClaim()
method, just like removeClaims()
method, removes a single credential based on credential's ID.
Future<void> removeClaim(
{required String claimId,
required String did,
required String privateKey});
New Polygon ID Documentation Website Available!
We've released a new version of our documention. Head to devs.polygonid.com to check it out.