메소드 |
설명 |
|
__construct ( string | array | Zend_Config $spec, array | Zend_Config $options = null ) : void |
Constructor |
|
getHash ( ) : string |
Retrieve CSRF token |
|
getLabel ( ) : null |
Override getLabel() to always be empty |
|
getSalt ( ) : string |
Retrieve salt for CSRF token |
|
getSession ( ) : Zend_Session_Namespace |
Get session object |
|
getSessionName ( ) : string |
Get session namespace for CSRF token |
|
getTimeout ( ) : integer |
Get CSRF session token timeout |
|
initCsrfToken ( ) : void |
Initialize CSRF token in session |
|
initCsrfValidator ( ) : Zend_Form_Element_Hash |
Initialize CSRF validator |
|
render ( Zend_View_Interface $view = null ) : string |
Render CSRF token in form |
|
setSalt ( string $salt ) : Zend_Form_Element_Hash |
Salt for CSRF token |
|
setSession ( Zend_Session_Namespace $session ) : Zend_Form_Element_Hash |
Set session object |
|
setTimeout ( integer $ttl ) : Zend_Form_Element_Hash |
Set timeout for CSRF session token |
|