atproto_oauth_axum/lib.rs
1//! Axum web framework integration for AT Protocol OAuth.
2//!
3//! Production-ready OAuth handlers for authorization flows, callbacks,
4//! JWKS endpoints, and metadata with secure state management.
5//! - **`handle_complete`**: OAuth callback and completion handler
6//! - **`handle_jwks`**: JWKS (JSON Web Key Set) endpoint handler
7//! - **`handler_metadata`**: OAuth authorization server metadata handler
8//! - **`state`**: Shared application state management for OAuth operations
9//! - **`errors`**: Specialized error types for web handler operations
10//!
11//! ## Command-Line Tools
12//!
13//! When built with the `clap` feature, provides OAuth management tools:
14//!
15//! - **`atproto-oauth-tool`**: Command-line OAuth login, token management, and workflow testing
16
17#![forbid(unsafe_code)]
18#![warn(missing_docs)]
19
20pub mod errors;
21pub mod handle_complete;
22pub mod handle_jwks;
23pub mod handler_metadata;
24pub mod state;