NoOpTokenEncryptionHandler

No-op TokenEncryptionHandler that stores tokens in plaintext.

Warning: Tokens stored with this handler are not encrypted. For production deployments requiring encryption at rest, implement TokenEncryptionHandler with your preferred encryption scheme and pass it to com.okta.authfoundation.credential.storage.RoomTokenStorage.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun decrypt(ciphertext: ByteArray, encryptionExtras: Map<String, String>): ByteArray

Decrypts the given ciphertext bytes.

Link copied to clipboard
open suspend override fun encrypt(plaintext: ByteArray): EncryptionResult

Encrypts the given plaintext bytes.