UiaLogin extension

on

Methods

uiaLogin(LoginType type, {String? address, String? deviceId, AuthenticationIdentifier? identifier, String? initialDeviceDisplayName, String? medium, String? password, String? token, String? user, AuthenticationData? auth, String pathVersion = 'v3', bool? refreshToken}) Future<LoginResponse>
Implementation of MSC2835: https://github.com/Sorunome/matrix-doc/blob/soru/uia-on-login/proposals/2835-uia-on-login.md Set pathVersion to r0 if you need to use the previous version of the login endpoint.