Skip to content
Snippets Groups Projects
Commit 676c57d3 authored by Taras's avatar Taras
Browse files

Add getAllRegistrationFlows to registration wizard

parent a317d8fb
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ interface RegistrationWizard {
* Current registration "session" param will be included into authParams by default.
* The authParams should contain at least one entry "type" with a String value.
*/
suspend fun registrationCustom(authParams: JsonDict): RegistrationResult
suspend fun registrationCustom(authParams: JsonDict, initialDeviceDisplayName: String? = null): RegistrationResult
/**
* Perform the "m.login.email.identity" or "m.login.msisdn" stage.
......@@ -121,4 +121,7 @@ interface RegistrationWizard {
* called successfully.
*/
fun isRegistrationStarted(): Boolean
}
//Added to support few registration flows
suspend fun getAllRegistrationFlows(): List<List<Stage>>
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment