Authentication Service
This interface defines methods to authenticate or to create an account to a matrix server.
Functions
Cancel pending login or pending registration.
Create a session after a SSO successful login.
Authenticate with a matrixId and a password. Usually call this after a successful call to getWellKnownData().
Get the sign in or sign up fallback URL.
Get the last authenticated Session, if there is an active session.
Request the supported login flows for this homeserver. This is the first method to call to be able to get a wizard to login or to create an account.
Request the supported login flows for the corresponding sessionId.
Return a LoginWizard, to login to the homeserver. The login flow has to be retrieved first.
Return a RegistrationWizard, to create an matrix account on the homeserver. The login flow has to be retrieved first.
Perform a wellknown request, using the domain from the matrixId.
Check if there is an authenticated Session.
True when login and password has been sent with success to the homeserver.
Authenticate using m.login.token method during sign in with QR code.