zow_token.cr
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
Repository
zow_token.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- almost 3 years ago
- April 11, 2020
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 06:11:46 GMT
Languages