Login
The Login module provides a standardized method for implementing secure user identification workflows for web apps.
userClassName
The name of the app class that represents a user on the App. Must implement the\Cherrycake\LoginUser
interface.passwordAuthenticationMethod
One of the availableLOGIN_PASSWORD_ENCRYPTION_METHOD_?
constants for password authentication methods. Default:LOGIN_PASSWORD_ENCRYPTION_METHOD_PBKDF2
isLoadUserOnInit
Whether to check for a logged user and get it on this module's init sequence. Default:true
sleepOnErrorSeconds
Seconds to delay execution when a wrong login is requested, to make things difficult for bombing attacks. Default:1
LOGIN_PASSWORD_ENCRYPTION_METHOD_PBKDF2
LOGIN_RESULT_OK
LOGIN_RESULT_FAILED
LOGIN_RESULT_FAILED_UNKNOWN_USER
LOGIN_RESULT_FAILED_WRONG_PASSWORD
LOGOUT_RESULT_OK
LOGOUT_RESULT_FAILED
Last modified 2yr ago