Login Wizard
Set of methods to be able to login to an existing account on a homeserver.
More documentation can be found in the file https://github.com/element-hq/element-android/blob/main/docs/signin.md
Functions
Link copied to clipboard
Get some information about a matrixId: displayName and avatar url.
Link copied to clipboard
Login to the homeserver by sending a custom JsonDict. The data should contain at least one entry "type" with a String value.
Link copied to clipboard
Exchange a login token to an access token.
Link copied to clipboard
Ask the homeserver to reset the user password. The password will not be reset until resetPasswordMailConfirmed is successfully called.
Link copied to clipboard
abstract suspend fun resetPasswordMailConfirmed(newPassword: String, logoutAllDevices: Boolean = true)
Content copied to clipboard
Confirm the new password, once the user has checked their email When this method succeed, tha account password will be effectively modified.