Package de.tuchemnitz.armadillogin.fido2user

Types

AuthRepository
Link copied to clipboard
class AuthRepository(api: AuthenticationApi, prefs: SharedPreferences, executor: Executor)
Works with the API, the local data store, and FIDO2 API.
SharedPreferenceLiveData
Link copied to clipboard
internal class SharedPreferenceLiveData<T>(prefs: SharedPreferences, key: String, defaultValue: T, getter: SharedPreferences.(String, T) -> T?) : LiveData<T>
SignInState
Link copied to clipboard
sealed class SignInState
Represents the sign in/out state of the user.

Functions

liveStringSet
Link copied to clipboard
fun SharedPreferences.liveStringSet(key: String, defaultValue: Set<String>): LiveData<Set<String>>