core / com.schibsted.account.engine.controller / SignUpController

SignUpController

class SignUpController : Controller<SignUpContract>

Controller which administrates the process of creating a user and signing in. This is parcelable and should be persisted during the sign up sequence. After the sequence has been completed, the reference to this can be destroyed. Note: After an Android configuration change, make sure you call evaluate again to re-trigger the currently active task.

Types

CREATOR

companion object CREATOR : Creator<SignUpController>

Constructors

<init>

SignUpController(parcel: Parcel)SignUpController(baseRedirectUri: URI, scopes: Array<String>)

Controller which administrates the process of creating a user and signing in. This is parcelable and should be persisted during the sign up sequence. After the sequence has been completed, the reference to this can be destroyed. Note: After an Android configuration change, make sure you call evaluate again to re-trigger the currently active task.

Functions

describeContents

fun describeContents(): Int

evaluate

fun evaluate(contract: SignUpContract): Unit

Perform the login sequence. Additional calls to this function will re-trigger the currently active task.

writeToParcel

fun writeToParcel(parcel: Parcel, flags: Int): Unit

Inherited Functions

back

fun back(step: Int = 1): Unit

Goes back one step in the controller.

start

fun start(contract: T): Unit

Companion Object Functions

createFromParcel

fun createFromParcel(parcel: Parcel): SignUpController

newArray

fun newArray(size: Int): Array<SignUpController?>