jwtk/jjwt is a libraries for creating and verifying JSON Web Tokens (JWT) on Java / Kotlin.
I would like to show some introduction for jjwt on Kotlin.
Add version information to gradle.properties:
# JWT jjwtVersion=0.10.6
Define the following dependencies to build.gradle.kts :
val jjwtVersion: String by project implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion") implementation("io.jsonwebtoken:jjwt-impl:$jjwtVersion") implementation("io.jsonwebtoken:jjwt-jackson:$jjwtVersion")
// We need a signing key, so we'll create one just for this example. Usually // the key would be read from your application configuration instead. val signingKey = Keys.secretKeyFor(SignatureAlgorithm.HS512)
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!