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.
tryFullStack/backend/dist/auth/auth.controller.d.ts

17 lines
861 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';
2 weeks ago
import { LoginResponseDto } from './dto/login-response.dto';
import { UsersService } from 'src/users/users.service';
import { UserInfoResponseDto } from 'src/users/dto/user-info-response.dto';
2 weeks ago
import { AuthRequest } from 'src/common/interfaces/auth-request.interface';
2 weeks ago
import { CreateUserResponse } from 'src/users/dto/create-user-response.dto';
3 weeks ago
export declare class AuthController {
private readonly authService;
2 weeks ago
private userService;
constructor(authService: AuthService, userService: UsersService);
2 weeks ago
signup(dto: CreateUserDto): Promise<CreateUserResponse>;
login(dto: LoginUserDto): Promise<LoginResponseDto>;
getMe(req: AuthRequest): Promise<UserInfoResponseDto>;
3 weeks ago
}