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

Parameters

token

the value sent to the user via the otp delivery method

methodId

the identifier returned from the corresponding loginOrCreate method

sessionDurationMinutes

indicates how long the session should last before it expires

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
Link copied to clipboard
val sessionDurationMinutes: UInt
Link copied to clipboard
val token: String