MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / login

Method login

apps/api/src/auth/auth.controller.ts:51–55  ·  view source on GitHub ↗
(@Body() body: { email?: string; password?: string }, @Res({ passthrough: true }) res: Response)

Source from the content-addressed store, hash-verified

49 @Post("login")
50 @HttpCode(200)
51 login(@Body() body: { email?: string; password?: string }, @Res({ passthrough: true }) res: Response) {
52 const r = this.auth.login(body?.email, body?.password);
53 this.setRefreshCookie(res, r.refreshToken);
54 return { user: r.user, accessToken: r.accessToken, refreshToken: r.refreshToken };
55 }
56
57 @Public()
58 @Post("refresh")

Callers

nothing calls this directly

Calls 1

setRefreshCookieMethod · 0.95

Tested by

no test coverage detected