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.