AuthParameters
data class AuthParameters(val token: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)
Content copied to clipboard
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)
Content copied to clipboard