Skip to content

Commit f2b4c27

Browse files
RahulHereRahulHere
authored andcommitted
Reorganize auth implementation to /src/auth/ for better organization (#130)
- Move real JWT implementation from src/c_api/mcp_c_auth_api.cc to src/auth/mcp_auth_implementation.cc - Remove old stub files (auth_c_api.cc, http_client.cc, jwks_client.cc) - Update CMakeLists.txt to reference the new auth implementation location - Disable test files for removed stubs to fix linker errors - Keep all JWT validation, JWKS fetching, RSA verification functionality intact
1 parent 1e3a68d commit f2b4c27

File tree

7 files changed

+2413
-1143
lines changed

7 files changed

+2413
-1143
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,8 @@ message(STATUS "")
347347

348348
# Source files - split core from client/server to avoid circular deps
349349
set(MCP_CORE_SOURCES
350-
src/auth/http_client.cc
351-
src/auth/jwks_client.cc
352-
src/auth/auth_c_api.cc
350+
# Auth implementation is now in src/auth/mcp_auth_implementation.cc
351+
# and is included via src/c_api/CMakeLists.txt in the gopher_mcp_c library
353352
src/buffer/buffer_impl.cc
354353
src/json/json_bridge.cc
355354
src/json/json_serialization.cc

0 commit comments

Comments
 (0)