cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
http_metadata_endpoint.hpp File Reference

Default HTTP metadata endpoint parser for OAuth discovery. More...

#include <functional>
#include <nlohmann/json.hpp>
#include <optional>
#include <string>
#include <utility>
#include "cxxmcp/auth/lifecycle.hpp"

Go to the source code of this file.

Classes

struct  mcp::auth::OAuthHttpResponse
 Transport-neutral HTTP response used by the auth metadata endpoint. More...
 
class  mcp::auth::HttpOAuthMetadataEndpoint
 Default metadata endpoint implementation over an injected HTTP GET. More...
 

Typedefs

using mcp::auth::OAuthHttpGet = std::function< core::Result< OAuthHttpResponse >(const MetadataFetchRequest &)>
 Application or SDK transport adapter used for metadata GET calls.
 

Detailed Description

Default HTTP metadata endpoint parser for OAuth discovery.