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.
11 lines
442 B
11 lines
442 B
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;
|
|
}>;
|
|
}
|
|
|