Auth Options

Auth Options -- Options for controlling the behaviour of Auth

Auth Options

In addition to the options available for each container a series of options can be included that control the behaviour of Auth itself.

Tableau 34-1. Available Options

OptionData TypeDefault valueDescription
<< sessionName >> chaîne de caractères << _authsession >> The name used to identify this Auth session. See Auth::setSessionName()
<< allowLogin >> booléen TRUE Whether to allow logins to be performed on this page. See Auth::setAllowLogin()
<< postUsername >> chaîne de caractères << username >> The name of the form field that contains the username to authenticate.
<< postPassword >> chaîne de caractères << password >> The name of the form field that contains the password to authenticate.
<< advancedsecurity >> booléen FALSE Whether to enable the advanced security features. See Auth::setAdvancedSecurity()
<< enableLogging >> booléen FALSE Whether to enable the internal logging system. See the Logging Examples and Auth::attachLogObserver()
<< regenerateSessionId >> booléen FALSE Set to TRUE to regenerate the session id on every page load or leave as FALSE to regenerate only upon new login.