LoginRepository

internal interface LoginRepository

Inheritors

Functions

Link copied to clipboard
abstract suspend fun fetchDomainRedirectCustomBackendConfig(backendUrl: String): Either<NetworkFailure, DomainLookupResult>
Link copied to clipboard
abstract suspend fun getDomainRegistration(email: String): Either<NetworkFailure, LoginDomainPath>
Link copied to clipboard
abstract suspend fun loginWithEmail(email: String, password: String, label: String?, shouldPersistClient: Boolean, secondFactorVerificationCode: String? = null): Either<NetworkFailure, AuthenticationResult>
Link copied to clipboard
abstract suspend fun loginWithHandle(handle: String, password: String, label: String?, shouldPersistClient: Boolean): Either<NetworkFailure, AuthenticationResult>