/** * Session information in user sessions response */ export declare class UserSessionInfo { /** * Session ID */ sessionId: string; /** * Device ID */ deviceId: string | null; /** * Device name */ deviceName: string | null; /** * Device type */ deviceType: string | null; /** * Platform */ platform: string | null; /** * Browser */ browser: string | null; /** * IP address */ ipAddress: string | null; /** * IP country */ ipCountry: string | null; /** * IP city */ ipCity: string | null; /** * Last activity timestamp */ lastActivityAt: Date; /** * Session creation timestamp */ createdAt: Date; /** * Session expiration timestamp */ expiresAt: Date; /** * Trusted device flag * Trusted devices may skip MFA */ isTrustedDevice: boolean; /** * Whether this is the current session */ isCurrent: boolean; /** * Authentication method used for this session * Examples: 'password', 'social', 'admin', 'admin-social' * For social logins, check authProvider for the specific OAuth provider */ authMethod: string | null; /** * OAuth provider name (only present for social logins) * Examples: 'google', 'facebook', 'github', 'apple' */ authProvider: string | null; } /** * Response DTO for getting user sessions * * @example * ```typescript * const response = await authService.getUserSessions(); * // response.sessions = [{ sessionId: '123', authMethod: 'password', ... }, ...] * ``` */ export declare class GetUserSessionsResponseDTO { /** * Array of user sessions */ sessions: UserSessionInfo[]; } //# sourceMappingURL=get-user-sessions-response.dto.d.ts.map