added auth support

This commit is contained in:
Edward Tirado Jr 2026-02-19 23:14:00 -06:00
parent 67ebbbe329
commit 8970e82780
9 changed files with 289 additions and 14 deletions

View file

@ -15,7 +15,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
$middleware->statefulApi();
})
->withExceptions(function (Exceptions $exceptions): void {
$exceptions->renderable(function (MovieNotFoundException $e, Request $request) {