Fixes #9. Adds support for dynamic private keys/secrets based on token information