How lsxprime/aegis works
Main Components
a) Client-Side Components:
• Core Licensing Library (Aegis)
• License Manager
• Feature Manager
• Validation System
• Hardware Identification System
• Serialization System
b) Server-Side Components:
• Aegis.Server Core
• ASP.NET Core Implementation
• Database Layer
• Authentication System
• License Management API
• Heartbeat Monitor
┌─ Client Application Layer
• Integration Points with Aegis
• Aegis Core Layer
• License Management
• Feature Management
• Validation System
• Communication Layer
• API Endpoints
• Heartbeat System
• Server Layer
• Authentication
• License Management
• Database
Component Relationships
• License validation flow
• Feature verification process
• Authentication flow
• Heartbeat communication
• Database interactions
Detailed Components
Client Side:
┌─ Aegis Core
• LicenseManager
• Load/Validate/Manage Licenses
• FeatureManager
• Feature Control/Access
• LicenseValidator
• Validation Rules
• SecurityUtils
• Encryption/Signatures
Server Side:
┌─ Aegis.Server
• Controllers
• Authentication
• Licenses
• Services
• LicenseService
• HeartbeatMonitor
• Data
• AegisDbContext
Key Interactions to Highlight
• License Validation Flow:
• Client → License Load → Validation Rules → Server Verification (if online) → Result
• Feature Access Flow:
• Application → FeatureManager → License Check → Access Control
• Concurrent License Flow:
• Client → Server Authentication → License Activation → Heartbeat Loop → Deactivation
Additional Elements
Include:
• Version information
• Security measures (encryption, JWT, etc.)
• Database schema overview
• API endpoint summary
Implementation Notes
• The modular nature of the system
• Security implementations
• Extensibility points (custom validators, serializers)
• Integration points for client applications
Technical Details
• Supported license types
• Validation modes (online/offline)
• Database technology (Entity Framework Core)
• Authentication method (JWT)
• Communication protocols (REST API)