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.

Constructors

Link copied to clipboard
constructor(issuer: String, audience: String, expiresIn: Long, secret: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard