LoginUseCase

interface LoginUseCase

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(userIdentifier: String, password: String, shouldPersistClient: Boolean, cookieLabel: String? = uuid4().toString(), secondFactorVerificationCode: String? = null): AuthenticationResult

Login with user credentials and return the session Be noticed that session won't be stored locally, to store it use AddAuthenticatedUserUseCase.