Header menu logo FSharp.ATProto

FSharp.ATProto.OAuth Namespace

Type/Module Description

AuthorizationServerMetadata

Authorization server metadata (RFC 8414). Discovered from the authorization server's well-known endpoint.

AuthorizationState

State for an in-progress authorization flow. Save this between the redirect to the authorization server and the callback.

ClientMetadata

Client metadata for OAuth registration. Describes the client application to the authorization server.

Discovery

Authorization server and protected resource metadata discovery for the AT Protocol OAuth flow. Implements RFC 8414 (Authorization Server Metadata) and RFC 9728 (Protected Resource Metadata).

DPoP

DPoP (Demonstration of Proof-of-Possession) proof generation. Creates JWT proofs that bind access tokens to a specific key pair, as specified in RFC 9449.

OAuthBridge

Bridges OAuth sessions with AtpAgent, enabling all convenience functions to work with DPoP-authenticated OAuth sessions.

OAuthClient

OAuth client for the AT Protocol authorization flow. Implements PKCE (RFC 7636), PAR (RFC 9126), and DPoP (RFC 9449).

OAuthError

OAuth error types for the AT Protocol OAuth flow.

OAuthSession

A completed OAuth session with DPoP-bound tokens.

PkceChallenge

PKCE code verifier and challenge pair (RFC 7636).

ProtectedResourceMetadata

Protected resource metadata (RFC 9728). Discovered from the PDS's well-known endpoint.

TokenResponse

Token response from the authorization server.

Type something to start searching.