Skip to main content

Module discovery

Module discovery 

Source
Expand description

Authorization Server Discovery

Module implements discovery mechanisms for OAuth 2.0 authorization servers including Protected Resource Metadata (RFC 9728), Authorization Server Metadata (RFC 8414), and OpenID Connect Discovery.

Structs§

DiscoveryClient
Discovery client for authorization server metadata

Functions§

discover_from_401
Backward-compatible alias for callers that still model this as a 401-only flow.
discover_from_auth_challenge
Perform full discovery flow from an authorization challenge response.
validate_auth_server_for_mcp
Check if an authorization server supports required MCP features