|
cxxmcp 1.1.6
C++ MCP SDK
|
Dynamic Client Registration and client metadata models. More...
#include <optional>#include <string>#include <string_view>#include <utility>#include "cxxmcp/auth/metadata.hpp"#include "cxxmcp/auth/types.hpp"#include "cxxmcp/core/result.hpp"Go to the source code of this file.
Classes | |
| struct | mcp::auth::ClientRegistrationRequest |
| RFC 7591 dynamic client registration request. More... | |
| struct | mcp::auth::ClientRegistrationResponse |
| Dynamic client registration response. More... | |
| struct | mcp::auth::ClientIdMetadataDocument |
| Client ID Metadata Document shape used by MCP OAuth clients. More... | |
| struct | mcp::auth::ClientRegistrationEndpointRequest |
| Request sent through an application-provided DCR transport. More... | |
| struct | mcp::auth::ClientIdMetadataDocumentFetchRequest |
| Request sent through an application-provided CIMD fetch transport. More... | |
| class | mcp::auth::OAuthClientRegistrationEndpoint |
| Dynamic client registration network boundary. More... | |
| class | mcp::auth::ClientIdMetadataDocumentEndpoint |
| URL-based Client ID Metadata Document network boundary. More... | |
| struct | mcp::auth::ClientRegistrationOptions |
| Options used to build a dynamic client registration request. More... | |
| struct | mcp::auth::ClientIdConfigurationOptions |
| Options used when selecting a client_id before authorization. More... | |
Functions | |
| core::Result< ClientRegistrationRequest > | mcp::auth::build_client_registration_request (const ClientRegistrationOptions &options) |
| Build the default MCP OAuth DCR request for a public client. | |
| OAuthClientConfig | mcp::auth::oauth_client_config_from_registration_response (const ClientRegistrationResponse &response, std::string redirect_uri, ScopeList scopes) |
| Convert a successful DCR response into the SDK OAuth client config. | |
| OAuthClientConfig | mcp::auth::oauth_client_config_from_metadata_document (const ClientIdMetadataDocument &document, std::string redirect_uri, ScopeList scopes) |
| Convert a Client ID Metadata Document into the SDK OAuth config. | |
| bool | mcp::auth::detail::metadata_flag_enabled (const MetadataMap &metadata, std::string_view key) |
| bool | mcp::auth::detail::segment_is_dot_reference (std::string_view segment) |
| bool | mcp::auth::detail::url_contains_dot_segment (std::string_view path) |
| bool | mcp::auth::supports_client_id_metadata_document (const AuthorizationServerMetadata &metadata) |
| Whether authorization metadata advertises URL-based client_id docs. | |
| bool | mcp::auth::is_valid_client_id_metadata_url (std::string_view url) |
| Validate an SEP-991-style HTTPS URL client_id. | |
Dynamic Client Registration and client metadata models.