ResetByEmailParameters

data class ResetByEmailParameters @JvmOverloads constructor(val token: String, val password: String, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES, val locale: Locale? = null)

Data class used for wrapping parameters used with Passwords ResetByEmail endpoint

Constructors

Link copied to clipboard
constructor(token: String, password: String, sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES, locale: Locale? = null)

Properties

Link copied to clipboard
val locale: Locale? = null

Used to determine which language to use when sending the user this delivery method. Currently supported languages are English ("en"), Spanish ("es"), and Brazilian Portuguese ("pt-br"); if no value is provided, the copy defaults to English.

Link copied to clipboard

is the private sequence of characters you wish to use as a password

Link copied to clipboard

indicates how long the session should last before it expires

Link copied to clipboard

is the unique sequence of characters that should be received after calling the resetByEmailStart