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

Shared lightweight value types for cxxmcp auth contracts. More...

#include <chrono>
#include <map>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "cxxmcp/core/string_constant.hpp"

Go to the source code of this file.

Classes

struct  mcp::auth::HttpRequestTarget
 Transport-neutral HTTP request descriptor used by auth helpers. More...
 
struct  mcp::auth::HttpResponseMetadata
 Transport-neutral HTTP response descriptor used by auth helpers. More...
 
struct  mcp::auth::OAuthClientConfig
 Public OAuth client configuration used by lifecycle helpers. More...
 
struct  mcp::auth::ClientCredentialsConfig
 OAuth 2.0 Client Credentials flow configuration (SEP-1046). More...
 

Typedefs

using mcp::auth::HeaderMap = std::map< std::string, std::string >
 
using mcp::auth::MetadataMap = std::map< std::string, std::string >
 
using mcp::auth::ScopeList = std::vector< std::string >
 
using mcp::auth::StringList = std::vector< std::string >
 
using mcp::auth::SystemClock = std::chrono::system_clock
 
using mcp::auth::TimePoint = SystemClock::time_point
 

Variables

constexpr core::StringConstant mcp::auth::AuthErrorCategory {"auth"}
 

Detailed Description

Shared lightweight value types for cxxmcp auth contracts.