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

Constructors

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

Properties

Link copied to clipboard
val sessionDurationMinutes: UInt

indicates how long the session should last before it expires

Link copied to clipboard
val token: String

is the unique sequence of characters used to log in