Package org.matrix.android.sdk.api.auth.registration

Types

Link copied to clipboard
data class FlowResult(val missingStages: List<Stage>, val completedStages: List<Stage>)

Information about the missing and completed Stage.

Link copied to clipboard
sealed class RegisterThreePid
Link copied to clipboard
sealed class RegistrationAvailability
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RegistrationFlowResponse(    @Json(name = "flows") val flows: List<InteractiveAuthenticationFlow>? = null,     @Json(name = "completed") val completedStages: List<String>? = null,     @Json(name = "session") val session: String? = null,     @Json(name = "params") val params: JsonDict? = null)
Link copied to clipboard
sealed class RegistrationResult

Either a session or an object containing data about registration stages.

Link copied to clipboard
interface RegistrationWizard

Set of methods to be able to create an account on a homeserver.

Link copied to clipboard
sealed class Stage

Registration stages.

Link copied to clipboard
typealias TermPolicies = Map<*, *>

Functions

Link copied to clipboard
fun RegistrationFlowResponse.nextUncompletedStage(flowIndex: Int = 0): String?
Link copied to clipboard
fun RegistrationFlowResponse.toFlowResult(): FlowResult

Convert to something easier to handle on client side.