MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / validate_auth_code

Function validate_auth_code

api/api.py:161–165  ·  view source on GitHub ↗

Check authorization code.

(request: AuthorizationConfig)

Source from the content-addressed store, hash-verified

159
160@app.post("/auth/validate")
161async def validate_auth_code(request: AuthorizationConfig):
162 """
163 Check authorization code.
164 """
165 return {"success": WIKI_AUTH_CODE == request.code}
166
167@app.get("/models/config", response_model=ModelConfig)
168async def get_model_config():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected