This would do the work of decrypting the token that gets passed in and make attributes from that token easily available in the implementing controller such as:
- anon order id
- username
- clientid
- access token
- email
- isAnon (boolean defining whether the user is anon, slightly easier than checking for existence of anon order id)
This would do the work of decrypting the token that gets passed in and make attributes from that token easily available in the implementing controller such as: