MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / constructor

Method constructor

backend/api/src/auth/auth.controller.ts:28–31  ·  view source on GitHub ↗
(
    private authService: AuthService,
    private passwordService: PasswordService,
  )

Source from the content-addressed store, hash-verified

26@Controller('auth')
27export class AuthController {
28 constructor(
29 private authService: AuthService,
30 private passwordService: PasswordService,
31 ) {}
32
33 @UseGuards(LocalAuthGuard, ThrottlerGuard)
34 @Throttle({ auth: { limit: 5, ttl: 900000 } }) // 5 attempts per 15 minutes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected