Auth Repository
class AuthRepository(api: AuthenticationApi, prefs: SharedPreferences, executor: Executor)
Content copied to clipboard
Works with the API, the local data store, and FIDO2 API.
Constructors
AuthRepository
Link copied to clipboard
fun AuthRepository(api: AuthenticationApi, prefs: SharedPreferences, executor: Executor)
Content copied to clipboard
Types
Properties
api
Link copied to clipboard
fido2ApiClient
Link copied to clipboard
prefs
Link copied to clipboard
signInStateListeners
Link copied to clipboard
Functions
clearCredentials
Link copied to clipboard
getCredentials
Link copied to clipboard
getSignInState
Link copied to clipboard
invokeSignInStateListeners
Link copied to clipboard
parseCredentials
Link copied to clipboard
password
Link copied to clipboard
fun password(password: String, processing: MutableLiveData<Boolean>, usernameBeforePassword: MutableLiveData<Boolean>, passwordBeforeNextTask: MutableLiveData<Boolean>)
Content copied to clipboard
refreshCredentials
Link copied to clipboard
registerRequest
Link copied to clipboard
fun registerRequest(processing: MutableLiveData<Boolean>): LiveData<PendingIntent?>
Content copied to clipboard
registerResponse
Link copied to clipboard
removeKey
Link copied to clipboard
fun removeKey(credentialId: String, processing: MutableLiveData<Boolean>)
Content copied to clipboard
setFido2APiClient
Link copied to clipboard
signinRequest
Link copied to clipboard
fun signinRequest(processing: MutableLiveData<Boolean>): LiveData<PendingIntent?>
Content copied to clipboard
signinResponse
Link copied to clipboard
fun signinResponse(data: Intent, processing: MutableLiveData<Boolean>, signInReady: MutableLiveData<Boolean>)
Content copied to clipboard
toStringSet
Link copied to clipboard
username
Link copied to clipboard
fun username(username: String, sending: MutableLiveData<Boolean>, usernameBeforePassword: MutableLiveData<Boolean>)
Content copied to clipboard