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
abstract fun onAgreementsRequested(agreementsProvider: InputProvider<Agreements>, agreementLinks: AgreementLinksResponse): Unit
Called when a user has not agreed to the Schibsted account or platform agreements |
|
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 |
|
abstract fun onIdentifierRequested(provider: InputProvider<Identifier>): Unit
Called when an identifier is required |
|
abstract fun onRequiredFieldsRequested(requiredFieldsProvider: InputProvider<RequiredFields>, fields: Set<String>): Unit
Called when additional fields are needed to log in the user |
|
abstract fun onVerificationCodeRequested(verificationCodeProvider: InputProvider<VerificationCode>, identifier: Identifier): Unit
Called when a verification code is required |