atproto_oauth/lib.rs
1//! OAuth 2.0 implementation for AT Protocol.
2//!
3//! Comprehensive OAuth support with DPoP, PKCE, JWT operations,
4//! and secure storage abstractions for AT Protocol authentication.
5
6#![forbid(unsafe_code)]
7#![warn(missing_docs)]
8
9/// DPoP (Demonstrating Proof of Possession) implementation for OAuth 2.0.
10pub mod dpop;
11/// Base64 encoding and decoding utilities.
12pub mod encoding;
13/// Error types and handling.
14pub mod errors;
15/// JSON Web Key (JWK) generation and management.
16pub mod jwk;
17/// JSON Web Token (JWT) minting and verification.
18pub mod jwt;
19/// PKCE (Proof Key for Code Exchange) implementation for OAuth 2.0 security.
20pub mod pkce;
21/// OAuth resource and authorization server management.
22pub mod resources;
23/// OAuth request storage abstraction for CRUD operations.
24pub mod storage;
25/// LRU-based implementation of OAuth request storage (requires `lru` feature).
26#[cfg(feature = "lru")]
27pub mod storage_lru;
28/// OAuth workflow implementation for AT Protocol authorization flows.
29pub mod workflow;
30/// OAuth 2.0 scope definitions and parsing for AT Protocol.
31pub mod scopes;