github.com/zwartopwit/zow_token.cr
0.2.1 / published Dec 7, 2021 / repository
Zow API token generator for Crystal
zow_token.cr
Zwartopwit Token generator for internal API's.
Installation
Add the dependency to your shard.yml:
dependencies:
zow_token:
github: bulckens/zow_token.cr
Run shards install
Usage
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)
Contributing
- 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
Contributors
- wout - creator and maintainer