Zwartopwit Token generator for internal API's.
Add the dependency to your shard.yml
:
dependencies:
zow_token:
github: bulckens/zow_token.cr
Run shards install
require "zow_token"
Generate a token:
ZowToken.generate("/some/path.json", "supersecret")
Or generate one with a specific timestamp:
ZowToken.generate("/some/path.json", "supersecret", 1586622186786)
- Fork it (https://github.com/your-github-user/zow_token/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- wout - creator and maintainer