|
cxxmcp 1.1.6
C++ MCP SDK
|
Abstract handler for the authorization endpoint. More...
#include <server_auth_endpoints.hpp>
Public Member Functions | |
| virtual core::Result< AuthorizationDecision > | authorize (const AuthorizationRequestParams ¶ms)=0 |
| Process an authorization request. | |
Abstract handler for the authorization endpoint.
The transport calls authorize() when a GET /authorize request arrives. The handler validates the request, presents consent (if needed), generates an authorization code, and returns the redirect information.
For interactive flows, the handler may block until the user grants consent.
|
pure virtual |
Process an authorization request.
| params | Parsed query parameters from the authorization request. |