Skip to main content

Add DID Profile Info

Add information of a connection between a DID and a service.

Future<void> addDidProfileInfo({
required String did,
required String privateKey,
required String interactedWithDid,
required Map<String, dynamic> info,
});

did is the DID we interactedd with.

The privateKey is the key used to access all the sensitive information from the identity and also to realize operations like generating proofs.

interactedWithDid is the identifier of the service we have interacted with. This is used to be able to recognize/use it in another occasion.

info represents the information saved within the service.