Common
Affinidi TDK common libraries that provides utility functions.
Install Dependency
Package: AffinidiTdk.Common
dotnet add package AffinidiTdk.CommonCheck the latest version on nuget.org or view the source on GitHub.
Classes and Methods
VaultUtils
Provides utility functions for Affinidi Vault requests.
BuildShareLink
Generates the Affinidi Iota Framework share link to initiate request to Affinidi Vault.
Parameters
iotaRequestJwt
String
RequiredThe signed request token generated from the initialising the share data request library.
clientId
String
RequiredThe client_id from the signed request token.
Example
using AffinidiTdk.Common;
var affinidiVaultShareLink = VaultUtils.BuildShareLink(iotaRequestJwt, clientId);BuildClaimLink
Generates the Credential Issuance claim link to claim the credential from the Affinidi Vault.
Parameters
credentialOfferUri
String
RequiredThe Credential Offer URI returned from the
startIssuance of the Credential Issuance client.Example
using AffinidiTdk.Common;
var affinidiVaultClaimLink = VaultUtils.BuildClaimLink(credentialOfferUri);Was this page helpful?
Glad to hear it! Please tell us how we can improve more.
Sorry to hear that. Please tell us how we can improve.
Thank you for sharing your feedback so we can improve your experience.