TokenConfig

constructor(issuer: String, audience: String, expiresIn: Long, secret: String)

Parameters

issuer

Domain of the tokens to be generated.

audience

Audience of the tokens to be generated.

expiresIn

Timestamp in millis of the experitation date of the token.

secret

Secret key of the token configuration.