MCPcopy Create free account
hub / github.com/bsoc-bitbyte/busify / googleAuthRedirect

Method googleAuthRedirect

backend/src/Auth/auth.controller.ts:11–13  ·  view source on GitHub ↗
(@Body('code') code: string, @Res() res: Response)

Source from the content-addressed store, hash-verified

9 constructor(private readonly authService: AuthService) {}
10 @Post('google')
11 async googleAuthRedirect(@Body('code') code: string, @Res() res: Response) {
12 return await this.authService.googleLoginCallback(code, res);
13 }
14 @UseGuards(JwtAuthGuard)
15 @Get('logout')
16 async logout(@Res() res: Response) {

Callers

nothing calls this directly

Calls 1

googleLoginCallbackMethod · 0.80

Tested by

no test coverage detected