import { Injectable, UnauthorizedException } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { UsersService } from '../users/users.service'; @Injectable() export class AuthService { constructor( private usersService: UsersService, private jwtService: JwtService ) {} async signIn(username: string, pass: string): Promise { } }