◆ $cookieName
| string Config::Security::$cookieName = 'csrf_cookie_name' |
CSRF Cookie Name
Cookie name for Cross Site Request Forgery protection.
◆ $csrfProtection
| string Config::Security::$csrfProtection = 'cookie' |
◆ $expires
| int Config::Security::$expires = 7200 |
CSRF Expires
Expiration time for Cross Site Request Forgery protection cookie.
Defaults to two hours (in seconds).
◆ $headerName
| string Config::Security::$headerName = 'X-CSRF-TOKEN' |
CSRF Header Name
Header name for Cross Site Request Forgery protection.
◆ $redirect
| bool Config::Security::$redirect = (ENVIRONMENT === 'production') |
◆ $regenerate
| bool Config::Security::$regenerate = true |
CSRF Regenerate
Regenerate CSRF Token on every submission.
◆ $samesite
| string Config::Security::$samesite = 'Lax' |
◆ $tokenName
| string Config::Security::$tokenName = 'csrf_test_name' |
CSRF Token Name
Token name for Cross Site Request Forgery protection.
◆ $tokenRandomize
| bool Config::Security::$tokenRandomize = false |
CSRF Token Randomization
Randomize the CSRF Token for added security.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: