|
cxxmcp 1.1.6
C++ MCP SDK
|
Configuration for the HTTP WWW-Authenticate challenge header. More...
#include <http_transport.hpp>
Public Attributes | |
| std::string | scheme = "Bearer" |
| Authentication scheme (default: "Bearer"). | |
| std::optional< std::string > | resource_metadata_url |
| URL of the RFC 9728 Protected Resource Metadata document. | |
| std::optional< std::string > | scope |
| Scopes required to access the resource. | |
Configuration for the HTTP WWW-Authenticate challenge header.
| std::optional<std::string> mcp::server::AuthChallengeConfig::resource_metadata_url |
URL of the RFC 9728 Protected Resource Metadata document.
When set, the WWW-Authenticate header includes resource_metadata="<url>".
| std::optional<std::string> mcp::server::AuthChallengeConfig::scope |
Scopes required to access the resource.
When set, the WWW-Authenticate header includes scope="<scopes>".