auth_controller.hpp
File Header Information
| Field | Value |
|---|---|
| SPDX Comment | Auth Controller with Notification Service injection |
| SPDX Type | SOURCE |
| Contributor | ZHENG Robert |
| License ID | MIT |
| File | auth_controller.hpp |
| Description | Auth Controller with Notification Service injection |
| Version | 0.15.0 |
| Date | 2026-01-24 |
| Author | ZHENG Robert (robert@hase-zheng.net) |
| Copyright | Copyright (c) 2026 ZHENG Robert |
| License | MIT |
Table of Contents
API Documentation
namespace service
service namespace.
namespace controller
controller namespace.
class AuthController
AuthController class.
explicit AuthController(service::NotificationService* notifyService)
Construct a new Auth Controller
| Parameter | Description |
|---|---|
notifyService | Pointer to the notification service |
// CORRECTED: Fully qualified namespace for AuthMiddleware
Register authentication routes
| Parameter | Description |
|---|---|
app | Crow App instance |