PSR7 Middleware authentication stack for the CakePHP framework.
Don't know what middleware is? Check the CakePHP documentation and additionally read this.
This plugin is for CakePHP 3.4+. If your application existed before (<= CakePHP 3.3), please make sure it is adjusted to leverage middleware as described in the docs.
This plugin intends to provide a framework around authentication and user identification. Authorization is a separate concern that has been packaged into a separate authorization plugin.
You can install this plugin into your CakePHP application using composer:
php composer.phar require cakephp/authentication
Load the plugin by adding the following statement in your project's
config/bootstrap.php
:
Plugin::load('Authentication');