RegistrationFlowResponse

@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)

Constructors

Link copied to clipboard
constructor(@Json(name = "flows") flows: List<InteractiveAuthenticationFlow>? = null, @Json(name = "completed") completedStages: List<String>? = null, @Json(name = "session") session: String? = null, @Json(name = "params") params: JsonDict? = null)

Functions

Link copied to clipboard
Link copied to clipboard

Convert to something easier to handle on client side.

Properties

Link copied to clipboard

The list of stages the client has completed successfully.

Link copied to clipboard

The list of flows.

Link copied to clipboard
val params: JsonDict? = null

The information that the client will need to know in order to use a given type of authentication. For each login stage type presented, that type may be present as a key in this dictionary. For example, the public key of reCAPTCHA stage could be given here. other example "params": { "m.login.sso": { "identity_providers": { "id": "google", "name": "Google", "icon": "https://..." } } }

Link copied to clipboard
val session: String? = null

The session identifier that the client must pass back to the homeserver, if one is provided, in subsequent attempts to authenticate in the same API call.