MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / api_refresh_admin_token

Function api_refresh_admin_token

backend/app/routes/auth/admin.py:71–80  ·  view source on GitHub ↗
(
    request: Request,
    auth_info: Dict = Depends(auth_info_required),
)

Source from the content-addressed store, hash-verified

69 response_model=BaseDataResponse,
70)
71async def api_refresh_admin_token(
72 request: Request,
73 auth_info: Dict = Depends(auth_info_required),
74):
75 admin = await refresh_admin_token(
76 admin_id=auth_info["admin_id"],
77 )
78 return BaseDataResponse(
79 data=admin.to_response_dict(),
80 )

Callers

nothing calls this directly

Calls 3

BaseDataResponseClass · 0.90
refresh_admin_tokenFunction · 0.50
to_response_dictMethod · 0.45

Tested by

no test coverage detected