interface SignUpContract : Contract<Identifier>, Credentials.Provider, Agreements.Provider, RequiredFields.Provider
Contract for creating accounts
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 onCredentialsRequested(provider: InputProvider<Credentials>): Unit
Called when user credentials are required |
|
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 onRequiredFieldsRequested(requiredFieldsProvider: InputProvider<RequiredFields>, fields: Set<String>): Unit
Called when additional fields are needed to log in the user |