RoomTokenStorage
class RoomTokenStorage(tokenDatabase: TokenDatabase, tokenEncryptionHandler: TokenEncryptionHandler) : TokenStorage
Functions
Link copied to clipboard
open suspend override fun add(token: Token, metadata: Token.Metadata, security: Credential.Security)
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