ExamerPasswordManager

class ExamerPasswordManager(application: Application) : PasswordManager

A concrete implementation of PasswordManager that uses EncryptedSharedPreferences under the hood.

Constructors

Link copied to clipboard
fun ExamerPasswordManager(application: Application)

Functions

Link copied to clipboard
open override fun getPasswordForUser(examerUser: ExamerUser): String

Used to get the password associated with the examerUser. The ExamerUser.id of the examerUser will be used as the key to get the value of the password.

Link copied to clipboard
open override fun savePasswordForUser(examerUser: ExamerUser, password: String)

Used to securely save the password of the examerUser.