AuthParameters

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

Data class used for wrapping parameters used with Password Authentication

Constructors

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

Properties

Link copied to clipboard

is the member's email address

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 member's organization ID

Link copied to clipboard

is the member's password

Link copied to clipboard

indicates how long the session should last before it expires