cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::auth::AuthorizationServerConfig Struct Reference

OAuth authorization server endpoint wiring owned by the auth layer. More...

#include <server_auth_endpoints.hpp>

Public Attributes

std::string issuer
 
std::string authorize_path = "/authorize"
 
std::string token_path = "/token"
 
std::string registration_path = "/register"
 
std::string revocation_path = "/revoke"
 
ScopeList scopes_supported
 
StringList grant_types_supported = {"authorization_code", "refresh_token"}
 
StringList response_types_supported = {"code"}
 
StringList code_challenge_methods_supported = {"S256"}
 
StringList token_endpoint_auth_methods_supported = {"none"}
 
std::optional< std::string > jwks_uri
 
std::optional< std::string > service_documentation
 
AuthorizationEndpointCallback authorization_handler
 
TokenEndpointCallback token_handler
 
ClientRegistrationEndpointCallback registration_handler
 
TokenRevocationEndpointCallback revocation_handler
 
MetadataMap metadata
 

Detailed Description

OAuth authorization server endpoint wiring owned by the auth layer.

HTTP transports may use this configuration to expose RFC 8414 metadata and OAuth endpoint routes, but authorization decisions, token minting, registration policy, and revocation remain application-owned callbacks.


The documentation for this struct was generated from the following file: