Crate example_oidc_cli
source ยทStructsยง
- ClientSession ๐The data needed to re-build a client.
- Credentials ๐The data needed to restore an OpenID Connect session.
- OidcCli ๐An OpenID Connect CLI.
- StoredSession ๐The full session to persist.
Functionsยง
- build_client ๐Build a new client.
- client_metadata ๐Generate the OIDC 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 OpenID Connect provider for a Matrix client, using the Authorization Code flow.
- on_room_message ๐Handle room messages.
- spawn_local_server ๐Spawn a local server to listen on redirects at the end of the authorization process.
- use_auth_url ๐Open the authorization URL and wait for it to be complete.