core / com.schibsted.account.engine.integration.contract / Contract

Contract

interface Contract<in T>

Functions

onFlowReady

abstract fun onFlowReady(callbackProvider: CallbackProvider<T>): Unit

Called when the flow is ready to be completed. This is the last step of a flow and will return the result of the flow in the provided callback

Inheritors

LoginContract

interface LoginContract : Contract<LoginResult>, Credentials.Provider, Agreements.Provider, RequiredFields.Provider

The contract containing all the required steps to log in using the com.schibsted.account.engine.controller.PasswordController

PasswordlessContract

interface PasswordlessContract : Contract<LoginResult>, Identifier.Provider, VerificationCode.Provider, Agreements.Provider, RequiredFields.Provider

The contract containing all the required steps to log in using the com.schibsted.account.flowengine.controller.PasswordlessController

SignUpContract

interface SignUpContract : Contract<Identifier>, Credentials.Provider, Agreements.Provider, RequiredFields.Provider

Contract for creating accounts