Parameters
data class Parameters(val phoneNumber: String, val expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)
Content copied to clipboard
Data class used for wrapping parameters used with SMS OTP
Parameters
phoneNumber
the number the OTP code should be sent to via SMS, in E.164 format (i.e. +1XXXXXXXXXX)
expirationMinutes
indicates how long the OTP should last before it expires
Constructors
Link copied to clipboard
fun Parameters(phoneNumber: String, expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES)
Content copied to clipboard