You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
378 B
17 lines
378 B
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<any> {
|
|
|
|
}
|
|
}
|