example_
oauth_
cli
0.1.0
All Items
Crate Items
Structs
Functions
Crate
example_oauth_cli
Copy item path
Source
Structs
ยง
Client
Session
๐
The data needed to re-build a client.
OAuth
Cli
๐
An OAuth 2.0 CLI.
Stored
Session
๐
The full session to persist.
Functions
ยง
build_
client
๐
Build a new client.
client_
metadata
๐
Generate the OAuth 2.0 client metadata.
help
๐
The available commands once the client is logged in.
main
๐
A command-line tool to demonstrate the steps requiring an interaction with an OAuth 2.0 authorization server for a Matrix client, using the Authorization Code flow.
on_
room_
message
๐
Handle room messages.
use_
auth_
url
๐
Open the authorization URL and wait for it to be complete.