ui / com.schibsted.account.ui.login.screen.verification / VerificationContract / Presenter

Presenter

interface Presenter

defines methods implemented by presenters performing verification business

See Also

VerificationFragment

Functions

resendCode

abstract fun resendCode(passwordlessController: PasswordlessController): Unit

Ask the server side to perform another code sending

verifyCode

abstract fun verifyCode(codeInputView: CodeInputView, keepMeLoggedIn: Boolean): Unit

Verify the code filled in by the user

Inheritors

VerificationPresenter

class VerificationPresenter : VerificationContract.Presenter

Following the MVP design pattern this interface represent the implementation of the VerificationContract.Presenter. this class executes the code verification business logic and ask for UI updates depending on results.