No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 10 commits behind cakephp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
tests
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml
.stickler.yml
.travis.yml
LICENSE.txt
composer.json
phpcs.xml.dist
phpunit.xml.dist
readme.md

readme.md

CakePHP Authentication

Software License Build Status Coverage Status

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.5+. Please make sure your application has been adjusted to leverage middleware as described in the docs.

Authentication, not Authorization

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.

Installation

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 src/Application.php:

public function bootstrap()
{
    parent::bootstrap();
    $this->addPlugin('Authentication');
}

Prior to 3.6.0

Plugin::load('Authentication');

Documentation