Crate example_login
source ยทEnumsยง
- LoginChoice ๐
Constantsยง
- The initial device name when logging in with a device for the first time.
Functionsยง
- login_and_sync ๐Log in to the given homeserver and sync.
- login_with_password ๐Login with a username and password.
- login_with_sso ๐Login with SSO.
- main ๐A simple program that adapts to the different login methods offered by a Matrix homeserver.
- Offer the given choices to the user and login with the selected option.
- on_room_message ๐Handle room messages by logging them.