-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added feature --logout to logout and remove device from use
- also invalidates the correspondiong access-token - allows use cases like `ghost` - `ghost`: `matrix-commander` can be used in an ephemeral fashion, in a fire-and-forget style. A single batch command can log in, create a new device, send a message, and then log out and delete the device. ``` --logout LOGOUT Logout this or all devices from the Matrix homeserver. This requires exactly one argument. Two choices are offered: 'me' and 'all'. Provide one of these choices. If you choose 'me', only the one device matrix- commander is currently using will be logged out. If you choose 'all', all devices of the user used by matrix-commander will be logged out. While --logout neither removes the credentials nor the store, the logout action removes the device and makes the access- token stored in the credentials invalid. Hence, after a --logout, one must manually remove creditials and store, and then perform a new --login to use matrix- commander again. You can perfectly use matrix- commander without ever logging out. --logout is a cleanup if you have decided not to use this (or all) device(s) ever again. ```
- Loading branch information
8go
committed
Jun 25, 2022
1 parent
80ad1ee
commit 1218268
Showing
8 changed files
with
140 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.0.0 | ||
3.0.1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters