|
cxxmcp 1.1.6
C++ MCP SDK
|
Abstract handler for the token endpoint. More...
#include <server_auth_endpoints.hpp>
Public Member Functions | |
| virtual core::Result< TokenSet > | issue_token (const TokenRequestParams ¶ms)=0 |
| Process a token request. | |
Abstract handler for the token endpoint.
The transport calls issue_token() when a POST /token request arrives. The handler validates the grant, exchanges authorization codes or refresh tokens, and returns a token set.
|
pure virtual |
Process a token request.
| params | Parsed form-encoded POST body parameters. |