/** * RefreshToken Entity * * Almacena refresh tokens para autenticación JWT. * Permite revocar tokens y gestionar sesiones. * * @module Auth */ import { User } from '../../core/entities/user.entity'; export declare class RefreshToken { id: string; userId: string; user: User; token: string; expiresAt: Date; revokedAt: Date | null; createdAt: Date; userAgent: string | null; ipAddress: string | null; /** * Verificar si el token está expirado */ isExpired(): boolean; /** * Verificar si el token está revocado */ isRevoked(): boolean; /** * Verificar si el token es válido */ isValid(): boolean; } //# sourceMappingURL=refresh-token.entity.d.ts.map