direct Authentication
abstract suspend fun directAuthentication( homeServerConnectionConfig: HomeServerConnectionConfig, matrixId: String, password: String, initialDeviceName: String, deviceId: String? = null): Session
Content copied to clipboard
Authenticate with a matrixId and a password. Usually call this after a successful call to getWellKnownData().
Parameters
home Server Connection Config
the information about the homeserver and other configuration
matrix Id
the matrixId of the user
password
the password of the account
initial Device Name
the initial device name
device Id
the device id, optional. If not provided or null, the server will generate one.