This package can be used to generate security tokens to protect against cross-site request forgery (CSRF) attacks.
It generate a time based token to be used for instance in hidden form fields.
The presence of the token in the submitted form values can be verified and an eventual attack can be avoided by not processing the form if the token is not present or is not valid.
| There are not enough user ratings to display for this class. |
| |
Packages needed by this class |
|
|
| Class |
Dependency |
Why it is needed |
| Html |
Required |
to generate output in our forms |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
Token.php |
Class |
class which manage token |
| File |
Role |
Description |
Base.php |
Class |
unit test case for Validator_Base class |
SessionToken.php |
Class |
unit test case for Validator_SessionToken class |
| File |
Role |
Description |
Base.php |
Test |
launch unit test case Test_Validator_Base |
SessionToken.php |
Test |
launch unit test case Test_Valdator_SessionToken.php |