UNPKG

@wikiccu/nest-auth

Version:

A comprehensive authentication package for NestJS applications with Prisma and PostgreSQL

36 lines (35 loc) 820 B
export declare class AuthUserResponse { id: string; email: string; username?: string; firstName?: string; lastName?: string; isEmailVerified: boolean; isActive: boolean; roles: string[]; permissions: string[]; } export declare class LoginResponseDto { user: AuthUserResponse; accessToken: string; refreshToken: string; expiresIn: number; } export declare class RegisterResponseDto { user: AuthUserResponse; message: string; } export declare class PasswordResetResponseDto { message: string; } export declare class EmailVerificationResponseDto { message: string; } export declare class RefreshTokenResponseDto { accessToken: string; refreshToken: string; expiresIn: number; } export declare class MessageResponseDto { message: string; }