SecondFactorVerificationRepository

Functions

Link copied to clipboard
abstract suspend fun clearStoredVerificationCode(email: String)

Clears the stored verification code for the given email address.

Link copied to clipboard
abstract fun getStoredVerificationCode(email: String): String?
Link copied to clipboard
abstract suspend fun requestVerificationCode(email: String, verifiableAction: VerifiableAction): Either<NetworkFailure, Unit>
Link copied to clipboard
abstract fun storeVerificationCode(email: String, verificationCode: String)

Stores the verification code in the local storage for the given email address.