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

OAuth token models and storage contracts. More...

#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "cxxmcp/auth/constant_time.hpp"
#include "cxxmcp/auth/types.hpp"
#include "cxxmcp/core/result.hpp"

Go to the source code of this file.

Classes

struct  mcp::auth::TokenSet
 OAuth access and refresh token state owned by the application. More...
 
struct  mcp::auth::TokenRefreshResult
 Token refresh result, including optional refresh-token rotation. More...
 
struct  mcp::auth::TokenKey
 Stable key for token storage. More...
 
class  mcp::auth::TokenStore
 Application-provided OAuth token persistence boundary. More...
 
class  mcp::auth::InMemoryTokenStore
 Minimal non-persistent token store useful for tests and simple apps. More...
 

Detailed Description

OAuth token models and storage contracts.