MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / login

Function login

astrbot/dashboard/api/auth.py:364–369  ·  view source on GitHub ↗
(
    request: Request,
    payload: LoginRequest,
    service: AuthService = Depends(get_auth_service),
)

Source from the content-addressed store, hash-verified

362
363@router.post("/auth/login")
364async def login(
365 request: Request,
366 payload: LoginRequest,
367 service: AuthService = Depends(get_auth_service),
368):
369 return await _login(request, payload, service)
370
371
372@legacy_router.post("/login")

Callers

nothing calls this directly

Calls 1

_loginFunction · 0.85

Tested by

no test coverage detected