Login
The Login module provides a standardized method for implementing secure user identification workflows for web apps.
See the Login guide to learn how to work with the Login module.
Configuration
userClassNameThe name of the app class that represents a user on the App. Must implement the\Cherrycake\LoginUserinterface.passwordAuthenticationMethodOne of the availableLOGIN_PASSWORD_ENCRYPTION_METHOD_?constants for password authentication methods. Default:LOGIN_PASSWORD_ENCRYPTION_METHOD_PBKDF2isLoadUserOnInitWhether to check for a logged user and get it on this module's init sequence. Default:truesleepOnErrorSecondsSeconds to delay execution when a wrong login is requested, to make things difficult for bombing attacks. Default:1
Constants
LOGIN_PASSWORD_ENCRYPTION_METHOD_PBKDF2
LOGIN_RESULT_OKLOGIN_RESULT_FAILEDLOGIN_RESULT_FAILED_UNKNOWN_USERLOGIN_RESULT_FAILED_WRONG_PASSWORD
LOGOUT_RESULT_OKLOGOUT_RESULT_FAILED
Last updated
Was this helpful?