A simple script to generate authentication tokens
- Create any array ($data)
- Instantiate an AuthenticationToken-Object
- (optional) Set your secret via SetSecret()
- (optional) Set your Algorithm via SetAlgorithm()
- Call GetTokenByArray($data)
GPLv2 - Give Credit, where Credit is due!