RoomTokenStorage
class RoomTokenStorage(tokenDatabase: TokenDatabase, tokenEncryptionHandler: TokenEncryptionHandler) : TokenStorage
Deprecated
RoomTokenStorage is deprecated in favor of com.okta.authfoundation.credential.kmp.storage.RoomTokenStorage, used by the KMP TokenCredentialManager. On Android, back it with AndroidTokenEncryptionHandler for Keystore/biometric-backed encryption. This class will be removed in a future major release.
Functions
Link copied to clipboard
open suspend override fun add(token: Token, metadata: Token.Metadata, security: Credential.Security = Credential.Security.standard)
Add Token and its Token.Metadata to storage. Encrypt Token with specified security.
Link copied to clipboard
Link copied to clipboard
Set Token.Metadata for the token with Token.Metadata.id