AuthParameters

data class AuthParameters @JvmOverloads constructor(val token: String, val methodId: String, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

Data class used for wrapping parameters used with OTP authentication

Constructors

Link copied to clipboard
constructor(token: String, methodId: String, sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard

the identifier returned from the corresponding loginOrCreate or send method

Link copied to clipboard

indicates how long the session should last before it expires

Link copied to clipboard

the value sent to the user via the otp delivery method