class LoginController : VerificationController<LoginContract>
Controller which administrates the process of a login flow using credentials. This is parcelable and should be persisted during the login 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.
companion object CREATOR : Creator<LoginController> |
LoginController(parcel: Parcel) LoginController(verifyUser: Boolean, scopes: Array<String> = arrayOf(OIDCScope.SCOPE_OPENID), currentUserId: UserId? = null)
Controller which administrates the process of a login flow using credentials. This is parcelable and should be persisted during the login 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. |
var currentUserId: UserId? |
fun describeContents(): Int |
|
fun evaluate(contract: LoginContract): Unit
Perform the login sequence. Additional calls to this function will re-trigger the currently active task. |
|
fun writeToParcel(parcel: Parcel, flags: Int): Unit |
fun requestAgreements(contract: T, user: User, agreementsLinks: AgreementLinksResponse): StepValidateAgreements? |
|
fun requestRequiredFields(contract: T, user: User, missingFields: Set<String>): StepValidateReqFields? |
fun createFromParcel(parcel: Parcel): LoginController |
|
fun newArray(size: Int): Array<LoginController?> |