cakephp / authentication
Authentication plugin for CakePHP
Installs: 2 197 163
Dependents: 51
Suggesters: 3
Security: 0
Stars: 117
Watchers: 31
Forks: 99
Open Issues: 6
Type:cakephp-plugin
Requires
- cakephp/http: ^5.0
- laminas/laminas-diactoros: ^3.0
- psr/http-client: ^1.0
- psr/http-message: ^1.1 || ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- cakephp/cakephp: ^5.1.0
- cakephp/cakephp-codesniffer: ^5.0
- firebase/php-jwt: ^6.2
- phpunit/phpunit: ^10.5.5 || ^11.1.3
Suggests
- ext-ldap: Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for "LdapIdentifier".
- cakephp/cakephp: Install full core to use "CookieAuthenticator".
- cakephp/orm: To use "OrmResolver" (Not needed separately if using full CakePHP framework).
- cakephp/utility: Provides CakePHP security methods. Required for the JWT adapter and Legacy password hasher.
- firebase/php-jwt: If you want to use the JWT adapter add this dependency
- 3.x-dev
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.11.0
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.x-dev
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-rc9
- 1.0.0-rc8
- 1.0.0-rc7
- 1.0.0-rc6
- 1.0.0-rc5
- 1.0.0-rc4
- 1.0.0-rc3
- 1.0.0-rc2
- 1.0.0-rc1
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- 1.0.0-alpha1
- dev-3.x-update-stan
- dev-2.x-update-stan
- dev-3.next
- dev-3.x-dic-port-from-2.x
- dev-1.next
This package is auto-updated.
Last update: 2024-11-17 18:18:28 UTC
README
PSR7 Middleware authentication stack for the CakePHP framework.
Don't know what middleware is? Check the CakePHP documentation and additionally read this.
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(): void { parent::bootstrap(); $this->addPlugin('Authentication'); }
Documentation
Documentation for this plugin can be found in the CakePHP Cookbook.
IDE compatibility improvements
For AuthenticationService::loadIdentifier()
you an find an IdeHelper task in IdeHelperExtra plugin.