Jwt Provider
Functions
Link copied to clipboard
abstract fun createToken(authentication: JwtAuthentication, expire: Long, secretKey: SecretKey): Token
abstract fun createToken(header: Map<String, String>, payload: Map<String, String>, expire: Long, secretKey: SecretKey): Token
Method to generate token.
Link copied to clipboard
Method to get authentication. Implemented differently depending on the JwtAuthentication implementation used.
Link copied to clipboard
Method to get payload.