JwtCreator

class JwtCreator(secretKey: String) : IJwtCreator

Class to create a JWT token.

Parameters

secretKey

The secret key to sign the token.

Constructors

Link copied to clipboard
constructor(secretKey: String)

Functions

Link copied to clipboard
open override fun createJwt(subject: String): String