Stored Credential Update
data class StoredCredentialUpdate(val deploymentStatus: CredentialDeploymentStatus? = null, val deploymentError: String? = null, val contractId: String? = null, val lastUsedAt: Long? = null, val nickname: String? = null, val isPrimary: Boolean? = null, val transports: List<String>? = null, val deviceType: String? = null, val backedUp: Boolean? = null)
Partial updates for a stored credential.
Only non-null fields are applied during an update operation. A null value means "no change" -- it does not clear the field to null. This is a deliberate design choice: there is no way to set a previously non-null field back to null via StorageAdapter.update. To reset a field, call StorageAdapter.save with a full StoredCredential replacement.
Example:
val update = StoredCredentialUpdate(
deploymentStatus = CredentialDeploymentStatus.FAILED,
deploymentError = "Transaction failed: insufficient balance"
)
storage.update(credentialId = "abc123", updates = update)Content copied to clipboard
Properties
Link copied to clipboard
New contract ID.
Link copied to clipboard
New deployment error message.
Link copied to clipboard
New deployment status.
Link copied to clipboard
New device type ("singleDevice" or "multiDevice").
Link copied to clipboard
New last used timestamp.
Link copied to clipboard
New authenticator transport hints.