TokenConfig
internal data class TokenConfig(val issuer: String, val audience: String, val expiresIn: Long, val secret: String)
Data class representing token configurations.
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.