atproto_oauth/
lib.rs

1//! OAuth 2.0 implementation for AT Protocol with DPoP support, PKCE, and JWT operations.
2//!
3//! Provides binaries:
4//! - `atproto-oauth-tool`: OAuth authentication workflow management (via atproto-oauth-axum crate)
5
6#![warn(missing_docs)]
7
8pub mod dpop;
9/// Base64 encoding and decoding utilities.
10pub mod encoding;
11/// Error types and handling.
12pub mod errors;
13/// JSON Web Key (JWK) generation and management.
14pub mod jwk;
15/// JSON Web Token (JWT) minting and verification.
16pub mod jwt;
17/// PKCE (Proof Key for Code Exchange) implementation for OAuth 2.0 security.
18pub mod pkce;
19pub mod resources;
20/// OAuth request storage abstraction for CRUD operations.
21pub mod storage;
22/// LRU-based implementation of OAuth request storage (requires `lru` feature).
23#[cfg(feature = "lru")]
24pub mod storage_lru;
25/// OAuth workflow implementation for AT Protocol authorization flows.
26pub mod workflow;
27
28#[cfg(feature = "axum")]
29pub mod axum;