DefaultCredentialIdStore
interface DefaultCredentialIdStore
Platform-agnostic abstraction for storing the default credential ID.
On Android, the existing DefaultCredentialIdDataStore provides an encrypted DataStore-based implementation. For cross-platform persistent storage, use com.okta.authfoundation.credential.storage.RoomDefaultCredentialIdStore.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun clearDefaultCredentialId(): ERROR CLASS: Symbol not found for Result<kotlin/Unit>
Clears the default credential ID.
Link copied to clipboard
abstract suspend 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
abstract suspend fun setDefaultCredentialId(id: String): ERROR CLASS: Symbol not found for Result<kotlin/Unit>
Sets the default credential ID.