Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adwardstark/jwtkt
A fast cli tool to generate and parse JWTs ( Json-Web-Token ), written in Kotlin, uses JJWT library
https://github.com/adwardstark/jwtkt
Last synced: 12 days ago
JSON representation
A fast cli tool to generate and parse JWTs ( Json-Web-Token ), written in Kotlin, uses JJWT library
- Host: GitHub
- URL: https://github.com/adwardstark/jwtkt
- Owner: adwardstark
- License: apache-2.0
- Created: 2021-02-17T12:44:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-17T13:20:10.000Z (almost 4 years ago)
- Last Synced: 2024-03-24T13:36:05.850Z (8 months ago)
- Language: Kotlin
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jwtKT
A fast cli tool to generate and parse JWTs ( Json-Web-Token ), written in Kotlin, uses [JJWT](https://github.com/jwtk/jjwt) library.
### Getting Started
- Just import this project in your favourite IDE, ( preferred is IntelliJ )
- Let the build sink-in
- Go to Run > Edit configuration
- Pass the arguments in `Program arguments` field > Hit OK
- Go to Run > Run MainKT
- You're all set!### Actions
This tool accepts a number of arguments to perform different actions, to see what all are supported, type `-h or --help` in arguments to view usage, it'll look something like this:```
Usage: JwtKT [options]
Options:
-a, --algo
Algorithm used for signing
-c, --config
JSON configuration file
-d, --debug
Enable debug logs
Default: false
-e, --expiry
Set token expiration in seconds
Default: 0
-h, --help
Show help usage
Default: false
-i, --issued
Adds the time of token issue
Default: false
-k, --key
Secret key used for signing
-p, --parse
Parse an existing token
-v, --version
Show version info
Default: false
```### License
Apache 2.0. See the [LICENSE](https://github.com/adwardstark/jwtKT/blob/master/LICENSE) file for details.