zow_token.cr

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

  1. Fork it (https://github.com/your-github-user/zow_token/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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