class PasswordlessController : VerificationController<PasswordlessContract>
Controller which administrates the process of a login flow using passwordless login. 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<PasswordlessController> |
PasswordlessController(parcel: Parcel) PasswordlessController(verifyUser: Boolean, locale: Locale = Locale.getDefault(), scopes: Array<String> = arrayOf(OIDCScope.SCOPE_OPENID))
Controller which administrates the process of a login flow using passwordless login. 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. |
fun describeContents(): Int |
|
fun evaluate(contract: PasswordlessContract): Unit
Perform the login sequence. Additional calls to this function will re-trigger the currently active task. |
|
fun resendCode(resultCallback: ResultCallback<NoValue>): Unit
Resend the verification code to the user. Please note that this is throttled by the Schibsted account back-end and will fail if requested too often |
|
fun resetIdentifier(contract: PasswordlessContract): Unit
Changes the current identifier and sends a validation code to hte new identifier |
|
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): PasswordlessController |
|
fun newArray(size: Int): Array<PasswordlessController?> |