Common
Install Dependency
Package: affinidi_tdk_common
dart pub add affinidi_tdk_common
You can check the latest version of this module on the pub.dev or view the source code at the GitHub repository.
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]
The signed request token generated from the initialising the share data request library.
clientId [String]
The client_id from the signed request token.
Example
import 'package:affinidi_tdk_common/affinidi_tdk_common.dart';
final affinidiVaultShareLink = VaultUtils.buildShareLink(iotaRequestJwt, clientId);
buildClaimLink
Generates the Credential Issuance claim link to claim the credential from the Affinidi Vault.
Parameters
credentialOfferUri [String]
The Credential Offer URI returned from the startIssuance
of the Crendential Issuance client.
Example
import 'package:affinidi_tdk_common/affinidi_tdk_common.dart';
final affinidiVaultClaimLink = VaultUtils.buildClaimLink(credentialOfferUri);
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.