Common
Affinidi TDK common libraries that provides utility functions.
Install Dependency
Package: affinidi_tdk_common
pip install affinidi_tdk_commonCheck the latest version on the PyPI repository or view the source on GitHub. The Python package for
commonis transpiled from the TypeScript version using JSII.
Classes and Methods
VaultUtils
Provides utility functions for Affinidi Vault requests.
build_share_link
Generates the Affinidi Iota Framework share link to initiate a request to Affinidi Vault.
Parameters
request
str
RequiredSigned request token generated from
prepareRequest of the Iota Browser library.client_id
str
RequiredThe
client_id from the signed request token.Example
from affinidi_tdk_common import VaultUtils
vault_share_link = VaultUtils.build_share_link(request, client_id)build_claim_link
Generates the Credential Issuance claim link to claim the credential from Affinidi Vault.
Parameters
credentialOfferUri
str
RequiredCredential Offer URI returned from
start_issuance of the Credential Issuance client.Example
from affinidi_tdk_common import VaultUtils
vault_claim_link = VaultUtils.build_claim_link(credential_offer_uri)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.