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

Optional bridge from auth verifiers to server AuthProvider. More...

#include <cctype>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include "cxxmcp/auth/dpop.hpp"
#include "cxxmcp/server/auth.hpp"

Go to the source code of this file.

Classes

struct  mcp::auth::DpopAuthProviderOptions
 Options for DPoP-aware server authentication over verified tokens. More...
 
class  mcp::auth::DpopBearerAuthProvider
 Server AuthProvider backed by injected JWT and DPoP verifiers. More...
 

Functions

std::string_view mcp::auth::server_auth_detail::trim_ascii (std::string_view value)
 
bool mcp::auth::server_auth_detail::ascii_iequals (std::string_view lhs, std::string_view rhs)
 
std::optional< std::string_view > mcp::auth::server_auth_detail::header_value (const std::unordered_map< std::string, std::string > &headers, std::string_view name)
 
std::optional< std::pair< std::string_view, std::string_view > > mcp::auth::server_auth_detail::authorization_scheme_and_token (std::string_view authorization)
 

Detailed Description

Optional bridge from auth verifiers to server AuthProvider.