Class CookieStorage
Token storage that uses browser cookies to store the CSRF token.
- Riimu\Kit\CSRF\Storage\CookieStorage implements Riimu\Kit\CSRF\Storage\TokenStorage
Namespace: Riimu\Kit\CSRF\Storage
Copyright: Copyright (c) 2014, Riikka Kalliomäki
License: MIT License
Author: Riikka Kalliomäki riikka.kalliomaki@gmail.com
Located at Storage/CookieStorage.php
Copyright: Copyright (c) 2014, Riikka Kalliomäki
License: MIT License
Author: Riikka Kalliomäki riikka.kalliomaki@gmail.com
Located at Storage/CookieStorage.php
Methods summary
public
|
#
__construct( string $name = 'csrf_token', integer $expire = 0, string $path = '/', string $domain = '', boolean $secure = false, boolean $httpOnly = true )
Creates a new instance of CookieStorage. |
public
|
|
protected
boolean
|
|
public
string|false
|