v1.0.0
English

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) public
isCSRFCookie () private
configureSession () private
configureCookie (CookieConfig $cookie) private
verify (RequestInterface $request) public
removeTokenInRequest (RequestInterface $request) private
getPostedToken (RequestInterface $request) private
getHash () public
randomize (string $hash) protected
derandomize (string $token) protected
getTokenName () public
getHeaderName () public
getCookieName () public
shouldRedirect () public
sanitizeFilename (string $str, bool $relativePath = false) public
restoreHash () private
generateHash () public
isHashInCookie () private
saveHashInCookie () private
saveHashInSession () private
phpDG v1.0.0 Security.php 662 files 498 classes 763 fn
Generated