Configure remote database connection and update documentation

This commit is contained in:
Bivekich
2025-08-06 02:24:01 +03:00
parent 5bd7d79642
commit e1b79f017a
67 changed files with 1513 additions and 15 deletions

View File

@ -0,0 +1,17 @@
import { JwtService } from '@nestjs/jwt';
import { UsersService } from '../users/users.service';
import { User } from '../users/entities/user.entity';
export declare class AuthService {
private usersService;
private jwtService;
constructor(usersService: UsersService, jwtService: JwtService);
validateUser(username: string, password: string): Promise<User | null>;
login(username: string, password: string): Promise<{
access_token: string;
user: User;
}>;
register(username: string, email: string, password: string): Promise<{
access_token: string;
user: User;
}>;
}