https://github.com/hannasdev/token
PHP token helper-class
https://github.com/hannasdev/token
Last synced: about 1 year ago
JSON representation
PHP token helper-class
- Host: GitHub
- URL: https://github.com/hannasdev/token
- Owner: hannasdev
- Created: 2016-03-04T12:01:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-04T12:27:45.000Z (over 10 years ago)
- Last Synced: 2024-03-27T20:21:52.079Z (over 2 years ago)
- Language: PHP
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Token
=====
Token is a helper-class for generating and storing and retrieving unique hashes in a `_SESSION`. It is intended to be used for Cross-Site-Request-Forgery (CSRF) protection.
## Examples
### generate() ###
PHP:
```php
```
HTML:
```html
```
### exists() ###
PHP:
```php