ui / com.schibsted.account.ui.login.screen.onesteplogin / OneStepLoginPresenter / verifyInput

verifyInput

fun verifyInput(identifier: InputField, identifierType: IdentifierType, allowSignup: Boolean, signUpErrorMessage: String?, callback: () -> Unit): Unit

Overrides Presenter.verifyInput

Verify the input of the user, the input could be an email address.

This method request a navigation to the next screen if the call was successful or show an error otherwise.

Parameters

identifier - InputField representing the input