RoomDefaultCredentialIdStore
Room-backed DefaultCredentialIdStore that persists the default credential ID in the same TokenDatabase used by RoomTokenStorage.
Parameters
database
the TokenDatabase instance (shared with RoomTokenStorage).
Functions
Link copied to clipboard
open suspend override fun clearDefaultCredentialId(): ERROR CLASS: Symbol not found for Result<kotlin/Unit>
Clears the default credential ID.
Link copied to clipboard
open suspend override fun getDefaultCredentialId(): ERROR CLASS: Symbol not found for Result<kotlin/String?>
Returns the current default credential ID, or null if none is set.
Link copied to clipboard
open suspend override fun setDefaultCredentialId(id: String): ERROR CLASS: Symbol not found for Result<kotlin/Unit>
Sets the default credential ID.