Skip to content

bulckens/zow_token.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Zow API token generator for Crystal

Resources

License

Stars

Watchers

Forks

Packages

No packages published