Manage Credentials
Manage the set of verifiable credentials received and owned by the agent
Get a Credential by ID
let id: String // ID of the credential to get ([Credential.credentialId])
do {
let credential = try await agent.credentials.getById(credentialId: id)
} catch {
// handle error
}val id: String // ID of the credential to get ([Credential.credentialId])
launch {
try {
val credential = agent.credentials.getById(id)
} catch (e: CredentialsModule.GetException) {
// Handle exception
}
}Credential Formats
Delete a Credential by ID
Updating the Metadata of a Credential
Listing Pending Credentials
Filtered Listing
Last updated