AuthParameters

data class AuthParameters(val token: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

Data class used for wrapping parameters used with MagicLinks authentication

Parameters

token

is the unique sequence of characters used to log in

sessionDurationMinutes

indicates how long the session should last before it expires

Constructors

Link copied to clipboard
fun AuthParameters(token: String, sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard
val sessionDurationMinutes: UInt
Link copied to clipboard
val token: String