Authentication & Authorization
summary
Uses PHP 8.1.10, Composer, CakePHP app template and MySQL to install the new Authentication and Authorization plugins, wires middleware in the correct order (routing → body parser → authentication middleware → authorization middleware → request auth), builds login/logout/add-user flows with the default password hasher, implements session, form and cookie authenticators (remember‑me cookie works), distinguishes persistent vs stateless authenticators, adds password identifier and entity/table/request/service policies via ORM and map resolvers, and verifies authorization checks (forbid/delete) — the examples run end‑to‑end.
AI-written summary · about
chapters (9)
- 0:00Introduction and setup
- 1:42Basic application setup
- 7:13Authentication concepts
- 14:07Implementing login
- 24:11Identity management
- 34:16Authentication deep dive
- 46:50Remember me and advanced
- 1:04:51Authorization setup
- 1:25:17Request and service policies
related talks
48mLaravel Authentication Deep Dive
33mWhy you shouldn´t care about Security
29mSecuring PHP Applications with Zero Trust Principles
01h 24mSymfony security component in examples
47mProtect your API with OAuth2
27mClose the Gate! Using Laravel's Authorization Layer
40mWhat It Takes to Build AAA?
01h 00mIn Defence of PHP
