Parameters

data class Parameters(    val email: String,     val organizationId: String,     val loginRedirectUrl: String? = null,     val signupRedirectUrl: String? = null,     val loginTemplateId: String? = null,     val signupTemplateId: String? = null)

Data class used for wrapping parameters used with requesting an email magic link

Constructors

Link copied to clipboard
fun Parameters(    email: String,     organizationId: String,     loginRedirectUrl: String? = null,     signupRedirectUrl: String? = null,     loginTemplateId: String? = null,     signupTemplateId: String? = null)

Properties

Link copied to clipboard
val email: String

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

is the url where you should be redirected for login

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.

Link copied to clipboard
val organizationId: String

is the member's organization ID

Link copied to clipboard
val signupRedirectUrl: String? = null

is the url where you should be redirected for signup

Link copied to clipboard
val signupTemplateId: String? = null

Use a custom template for sign-up 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 - Sign-up.