Core Docs

core.console — Code Reference

core.console — Code Reference



API gateway, management plane, and unified entry point for the UNVRSL platform.

> Status: Architecture defined. Code not yet implemented.

Planned Structure



core.console/
├── public/ # Web root
│ ├── index.php # Management UI entry
│ └── api/ # API gateway endpoints
│ ├── v1/
│ │ ├── auth/ # Proxy to core.auth
│ │ ├── storage/ # Proxy to core.storage
│ │ ├── ai/ # Proxy to core.ai
│ │ └── hypermedia/ # Proxy to core.hypermedia
│ └── gateway/
│ ├── validate.php # Key validation
│ └── usage.php # Usage reporting
├── src/
│ ├── Gateway/ # Request routing engine
│ ├── Projects/ # Project CRUD
│ ├── ApiKeys/ # Key generation and validation
│ ├── Usage/ # Usage logging and quotas
│ └── Auth/ # SSO delegation to core.auth
├── config/
│ ├── services.json # Registered services config
│ └── routes.json # Route mapping
└── composer.json


Key Classes (Planned)



  • Console\Gateway\Router — validates API keys, routes to internal services

  • Console\Projects\ProjectManager — CRUD for projects

  • Console\ApiKeys\KeyManager — scoped key generation

  • Console\Usage\UsageLogger — centralized usage tracking

  • Console\Auth\SsoDelegate — delegates auth to core.auth

See Also