revoke

fun revoke(id: String, encryptCipher: Cipher, decryptCipher: Cipher? = null): Boolean

Revokes an authorization record.

The record is marked as revoked with a timestamp — not deleted. The access key should no longer be used for signing after revocation.

Return

true if the record was found and revoked

Parameters

id

Record ID to revoke

encryptCipher

Pre-authenticated cipher (ENCRYPT_MODE) for writing

decryptCipher

Pre-authenticated cipher (DECRYPT_MODE), or null if cache is warm