Logo

Cake Planner

Backend

auth_controller.hpp

File Header Information

FieldValue
SPDX CommentAuth Controller with Notification Service injection
SPDX TypeSOURCE
ContributorZHENG Robert
License IDMIT
Fileauth_controller.hpp
DescriptionAuth Controller with Notification Service injection
Version0.15.0
Date2026-01-24
AuthorZHENG Robert (robert@hase-zheng.net)
CopyrightCopyright (c) 2026 ZHENG Robert
LicenseMIT

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

ParameterDescription
notifyServicePointer to the notification service

// CORRECTED: Fully qualified namespace for AuthMiddleware

Register authentication routes

ParameterDescription
appCrow App instance