MCPcopy Create free account
hub / github.com/Dyan-Dev/dyan / constructor

Method constructor

apps/backend/src/auth/auth.service.ts:8–11  ·  view source on GitHub ↗
(
    private jwtService: JwtService,
    @Inject('PrismaClient') private prisma: PrismaClient,
  )

Source from the content-addressed store, hash-verified

6@Injectable()
7export class AuthService {
8 constructor(
9 private jwtService: JwtService,
10 @Inject('PrismaClient') private prisma: PrismaClient,
11 ) {}
12
13 async sendMagicLink(email: string) {
14 const token = this.jwtService.sign(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected