DiscoverySendParameters

data class DiscoverySendParameters @JvmOverloads constructor(val emailAddress: String, val discoveryRedirectUrl: String? = null, val loginTemplateId: String? = null, val locale: Locale? = null)

A data class used for wrapping paramaters used for sending a discovery magic link

Constructors

Link copied to clipboard
constructor(emailAddress: String, discoveryRedirectUrl: String? = null, loginTemplateId: String? = null, locale: Locale? = null)

Properties

Link copied to clipboard

is the url where you should be redirected for organization discovery

Link copied to clipboard

is the account identifier for the account in the form of an Email address where you wish to receive a magic link to authenticate

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
val loginTemplateId: String? = null

Use a custom template for login emails. By default, it will use your default email template. The template must be a template using our built-in customizations or a custom HTML email for Magic links - Login.