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.