Security.php
system/Security/Security.php
1 class
20 methods
class Security
Class Security Provides methods that help protect your site against Cross-Site Request Forgery attacks.
__construct
(SecurityConfig $config)
isCSRFCookie
()
configureSession
()
configureCookie
(CookieConfig $cookie)
verify
(RequestInterface $request)
removeTokenInRequest
(RequestInterface $request)
getPostedToken
(RequestInterface $request)
getHash
()
randomize
(string $hash)
derandomize
(string $token)
getTokenName
()
getHeaderName
()
getCookieName
()
shouldRedirect
()
sanitizeFilename
(string $str, bool $relativePath = false)
restoreHash
()
generateHash
()
isHashInCookie
()
saveHashInCookie
()
saveHashInSession
()