Parameters
data class Parameters @JvmOverloads constructor(val email: String, val loginMagicLinkUrl: String? = null, val signupMagicLinkUrl: String? = null, val loginExpirationMinutes: Int? = null, val signupExpirationMinutes: Int? = null, val loginTemplateId: String? = null, val signupTemplateId: String? = null, val locale: Locale? = null) : Parcelable
Data class used for wrapping parameters used with MagicLinks.EmailMagicLinks.loginOrCreate
Properties
Link copied to clipboard
is the duration after which the login url should expire
Link copied to clipboard
is the url where you should be redirected for login
Link copied to clipboard
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
is the duration after which the signup url should expire
Link copied to clipboard
is the url where you should be redirected for signup
Link copied to clipboard
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.