cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::auth::InMemoryDpopReplayCache Class Referencefinal

Thread-safe in-memory replay cache for process-local DPoP validation. More...

#include <dpop.hpp>

Inheritance diagram for mcp::auth::InMemoryDpopReplayCache:
mcp::auth::DpopReplayCache

Public Member Functions

core::Result< bool > remember_once (std::string jwt_id, TimePoint expires_at, TimePoint now) override
 

Detailed Description

Thread-safe in-memory replay cache for process-local DPoP validation.

This is suitable for embedded/single-process servers. Multi-process or distributed deployments should provide a shared cache implementation.

Member Function Documentation

◆ remember_once()

core::Result< bool > mcp::auth::InMemoryDpopReplayCache::remember_once ( std::string  jwt_id,
TimePoint  expires_at,
TimePoint  now 
)
inlineoverridevirtual

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