cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::auth::OAuthClientOrchestratorConfig Struct Reference

Configuration for the OAuth client orchestrator. More...

#include <client_orchestrator.hpp>

Public Attributes

std::string resource_url
 The MCP resource URL (e.g. "https://example.com/mcp").
 
std::string client_name = "MCP Client"
 Client name for dynamic client registration.
 
ScopeList scopes
 Scopes to request. Empty = let the server decide.
 
std::string redirect_uri
 Redirect URI for the authorization code flow.
 
std::chrono::seconds callback_timeout {300}
 Maximum time to wait for the authorization code callback.
 
std::chrono::seconds refresh_skew {30}
 How long before token expiry to proactively refresh.
 
std::optional< std::string > client_id
 Pre-configured client_id. When set, DCR is skipped.
 

Detailed Description

Configuration for the OAuth client orchestrator.

Member Data Documentation

◆ redirect_uri

std::string mcp::auth::OAuthClientOrchestratorConfig::redirect_uri

Redirect URI for the authorization code flow.

If empty, the orchestrator will use a loopback URI derived from the callback's wait_for_callback implementation.


The documentation for this struct was generated from the following file: