Header menu logo FSharp.ATProto

FSharp.ATProto.OAuthServer Namespace

Type/Module Description

AccountInfo

Information about an authenticated account.

ClientDiscovery

Client metadata discovery, PKCE validation, and client assertion validation.

ConsentApi

JSON API endpoints for consent UI frontend.

DPoPValidator

Server-side DPoP (Demonstration of Proof-of-Possession) proof validation. Validates JWT proofs per RFC 9449, ensuring the client possesses the private key corresponding to the public key in the proof header.

Endpoints

OAuth HTTP endpoint handlers. Each handler is a pure function taking EndpointDeps and returning an HttpContext -> Task.

GrantType

Grant type for OAuth token requests.

IAccountStore

Store for user account authentication and lookup.

InMemoryAccountStore

In-memory account store using ConcurrentDictionary. Suitable for development and testing.

InMemoryReplayStore

In-memory replay detection store using ConcurrentDictionary. Suitable for development and testing.

InMemoryRequestStore

In-memory request store using ConcurrentDictionary. Suitable for development and testing.

InMemoryTokenStore

In-memory token store using ConcurrentDictionary. Suitable for development and testing.

IReplayStore

Store for DPoP/nonce replay detection.

IRequestStore

Store for pending authorization requests.

ITokenStore

Store for authorization tokens.

LoginCredentials

Credentials provided during user sign-in.

OAuthScope

Scopes module for AT Protocol OAuth scope handling.

OAuthServer

Server builder for composing the OAuth authorization server.

OAuthServerConfig (Module)

OAuthServerConfig (Type)

Configuration for the OAuth authorization server.

OAuthServerError

Error type for OAuth server operations.

RequestData

Data stored for an in-progress authorization request.

TokenData

Data stored for an issued token.

TokenSigner

Access token JWT creation and signing.

Type something to start searching.