Documentation
Book
API
Videos
Reporting Security Issues
Privacy Policy
Logos & Trademarks
Business Solutions
Swag
Road Trip
Team
Community
Community
Get Involved
Issues (Github)
Bakery
Featured Resources
Training
Meetups
My CakePHP
CakeFest
Newsletter
Linkedin
YouTube
Facebook
Twitter
Mastodon
Help & Support
Forum
Stack Overflow
Slack
Paid Support
B
CakePHP Authentication 1.x
Cookbook
A
Language:
en
Version:
1.x
1.x
2.x
3.x
Nav
Table of Contents
×
Improve This Doc
Contents
¶
CakePHP Authentication
Quick Start
Getting Started
Building a Login Action
Further Reading
Authenticators
Session
Form
JWT
HttpBasic
HttpDigest
Cookie Authenticator aka “Remember Me”
OAuth
Events
URL Checkers
Getting the Successful Authenticator or Identifier
Using Stateless Authenticators with stateful Authenticators
Identifiers
Password
Token
JWT Subject
LDAP
Callback
ORM Resolver
Writing your own resolver
Password Hashers
Default
Legacy
Fallback
The Identity Object
Creating your own Identity Object
Implementing the IdentityInterface on your User class
Using a Custom Identity Decorator
Authentication Component
Accessing the user / identity data
Checking the login status
Clearing the identity / logging the user out
Migration from the AuthComponent
Differences
Similarities
Identifiers and authenticators
Migrating your authentication setup
Migrating Unauthenticated Redirects
Migrating Hashing Upgrade Logic
Testing with Authentication
Session based authentication
Token based authentication
URL Checkers
Included Checkers
View Helper
Quick Start
→