????

Your IP : 216.73.216.131


Current Path : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/auth/
Upload File :
Current File : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/auth/auth.service.d.ts

import { UsersService } from '../users/users.service';
import { CredentialsDto, SigninDto } from './dto/credentials.dto';
import { Request, Response } from 'express';
import { TokenService } from './token.service';
import { User } from '../users/entities/user.entity';
export declare class AuthService {
    private usersService;
    private tokenService;
    constructor(usersService: UsersService, tokenService: TokenService);
    login(res: Response, credentials: CredentialsDto): Promise<Response<any, Record<string, any>>>;
    signIn(credentials: SigninDto): Promise<User>;
    refreshToken(req: Request, res: Response): Promise<Response<any, Record<string, any>>>;
    logout(req: Request, res: Response): Promise<void>;
    private returnTokens;
}