Configure remote database connection and update documentation
This commit is contained in:
17
backend/dist/modules/auth/auth.service.d.ts
vendored
Normal file
17
backend/dist/modules/auth/auth.service.d.ts
vendored
Normal 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;
|
||||
}>;
|
||||
}
|
Reference in New Issue
Block a user