@mas-soft/mas-core-server
Version:
main application
11 lines (10 loc) • 410 B
TypeScript
import { JwtService } from '@nestjs/jwt';
import { JwtPayload } from './jwt.payload';
import { UsersService } from '../..';
export declare class AuthService {
private readonly usersService;
private readonly jwtService;
constructor(usersService: UsersService, jwtService: JwtService);
login(payload: JwtPayload): Promise<string>;
validateUser(payload: JwtPayload): Promise<any>;
}