Crate example_oauth_cli

Source

Structsยง

ClientSession ๐Ÿ”’
The data needed to re-build a client.
OAuthCli ๐Ÿ”’
An OAuth 2.0 CLI.
StoredSession ๐Ÿ”’
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.