Registration Flow Response
@JsonClass(generateAdapter = true )
Content copied to clipboard
Constructors
Link copied to clipboard
fun RegistrationFlowResponse( @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)
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
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://..." } } }
Extensions
Link copied to clipboard
fun RegistrationFlowResponse.nextUncompletedStage(flowIndex: Int = 0): String?
Content copied to clipboard
Link copied to clipboard
Convert to something easier to handle on client side.