AuthParameters

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

Data class used for wrapping parameters used with OTP authentication

Constructors

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

Properties

Link copied to clipboard
val methodId: String

the identifier returned from the corresponding loginOrCreate or send method

Link copied to clipboard
val sessionDurationMinutes: UInt

indicates how long the session should last before it expires

Link copied to clipboard
val token: String

the value sent to the user via the otp delivery method