RoomTokenStorage

constructor(database: TokenDatabase, encryptionHandler: TokenEncryptionHandler, configuration: OAuth2ClientConfiguration)

Parameters

database

the TokenDatabase instance (created via platform-specific builders).

encryptionHandler

the encryption strategy for token data.

configuration

the OAuth2ClientConfiguration used to reconstruct tokens.