AccountService

interface AccountService

This interface defines methods to manage the account. It's implemented at the session level.

Functions

Link copied to clipboard
abstract suspend fun changePassword(    password: String,     newPassword: String,     logoutAllDevices: Boolean = true)

Ask the homeserver to change the password.

Link copied to clipboard
abstract suspend fun deactivateAccount(eraseAllData: Boolean, userInteractiveAuthInterceptor: UserInteractiveAuthInterceptor)

Deactivate the account.