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

Token endpoint response serialized by an authorization server. More...

#include <server_auth_endpoints.hpp>

Public Attributes

std::string access_token
 
std::string token_type = "Bearer"
 
std::optional< std::string > refresh_token
 
std::optional< std::chrono::seconds > expires_in
 
std::optional< std::string > scope
 
MetadataMap metadata
 

Detailed Description

Token endpoint response serialized by an authorization server.

This is intentionally separate from TokenSet. TokenSet is the client-side credential state model; TokenEndpointResponse is the HTTP response contract for an authorization server token endpoint.


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