Package-level declarations
AtOAuth flow orchestrator, DpopAuthProvider, OAuthSession(Store), DpopSigner, and the exceptions thrown when a session expires or a step in the OAuth flow fails.
Types
AT Protocol OAuth 2.0 flow orchestrator for public clients.
Resolved authorization server metadata — everything the OAuth flow needs to construct PAR requests, authorization URLs, and token exchange calls.
Implements the AT Protocol discovery chain:
AuthProvider implementation that attaches DPoP proof-of-possession headers on every XRPC request and handles token refresh transparently.
Signs DPoP proof JWTs using EC P-256 (ES256) per RFC 9449.
Persisted OAuth session state. Contains everything needed to make authenticated XRPC requests and refresh the session when the access token expires.
Platform-agnostic session persistence interface. Consumers provide the storage backend — the module handles serialization.