Parameters

data class Parameters(    val email: String,     val loginMagicLinkUrl: String? = null,     val signupMagicLinkUrl: String? = null,     val loginExpirationMinutes: UInt? = null,     val signupExpirationMinutes: UInt? = null,     val loginTemplateId: String? = null,     val signupTemplateId: String? = null)

Parameters

email

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

loginMagicLinkUrl

is the url where you should be redirected for login

signupMagicLinkUrl

is the url where you should be redirected for signup

loginExpirationMinutes

is the duration after which the login url should expire

signupExpirationMinutes

is the duration after which the signup url should expire

loginTemplateId

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.

signupTemplateId

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.

Constructors

Link copied to clipboard
fun Parameters(    email: String,     loginMagicLinkUrl: String? = null,     signupMagicLinkUrl: String? = null,     loginExpirationMinutes: UInt? = null,     signupExpirationMinutes: UInt? = null,     loginTemplateId: String? = null,     signupTemplateId: String? = null)

Properties

Link copied to clipboard
val email: String
Link copied to clipboard
val loginExpirationMinutes: UInt? = null
Link copied to clipboard
val loginMagicLinkUrl: String? = null
Link copied to clipboard
val loginTemplateId: String? = null
Link copied to clipboard
val signupExpirationMinutes: UInt? = null
Link copied to clipboard
val signupMagicLinkUrl: String? = null
Link copied to clipboard
val signupTemplateId: String? = null