Parameters

data class Parameters(val phoneNumber: String, val expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES) : Parcelable

Data class used for wrapping parameters used with SMS OTP

Constructors

Link copied to clipboard
constructor(phoneNumber: String, expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)

Properties

Link copied to clipboard

indicates how long the OTP should last before it expires

Link copied to clipboard

the number the OTP code should be sent to via SMS, in E.164 format (i.e. +1XXXXXXXXXX)