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

Default OAuth token endpoint form encoder and JSON response parser. More...

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

Go to the source code of this file.

Classes

struct  mcp::auth::OAuthHttpRequest
 Transport-neutral HTTP request used by the auth token endpoint. More...
 
class  mcp::auth::HttpOAuthTokenEndpoint
 Default OAuth token endpoint implementation over an injected HTTP POST. More...
 

Typedefs

using mcp::auth::OAuthHttpPost = std::function< core::Result< OAuthHttpResponse >(const OAuthHttpRequest &)>
 Application or SDK transport adapter used for token POST calls.
 

Detailed Description

Default OAuth token endpoint form encoder and JSON response parser.