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

Method constructor

backend/api/src/auth/auth.service.ts:19–28  ·  view source on GitHub ↗
(
    private usersService: UsersService,
    private jwtService: JwtService,
    private configService: ConfigService,
    private subscriptionsService: SubscriptionsService,
    private workspacesService: WorkspacesService,
    private refreshTokenService: RefreshTokenService,
    private passwordService: PasswordService,
    private slackService: SlackService,
  )

Source from the content-addressed store, hash-verified

17@Injectable()
18export class AuthService {
19 constructor(
20 private usersService: UsersService,
21 private jwtService: JwtService,
22 private configService: ConfigService,
23 private subscriptionsService: SubscriptionsService,
24 private workspacesService: WorkspacesService,
25 private refreshTokenService: RefreshTokenService,
26 private passwordService: PasswordService,
27 private slackService: SlackService,
28 ) {}
29
30 async validateUser(email: string, password: string): Promise<any> {
31 const user = await this.usersService.findByEmail(email);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected