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.
12 lines
442 B
12 lines
442 B
3 weeks ago
|
import { AuthService } from './auth.service';
|
||
|
import { CreateUserDto } from 'src/users/dto/create-user.dto';
|
||
|
import { LoginUserDto } from 'src/auth/dto/login-user.dto';
|
||
|
export declare class AuthController {
|
||
|
private readonly authService;
|
||
|
constructor(authService: AuthService);
|
||
|
signup(dto: CreateUserDto): Promise<import("../users/user.entity").User>;
|
||
|
login(dto: LoginUserDto): Promise<{
|
||
|
access_token: string;
|
||
|
}>;
|
||
|
}
|