Parameters
fun Parameters( email: String, expirationMinutes: UInt = DEFAULT_OTP_EXPIRATION_TIME_MINUTES, loginTemplateId: String? = null, signupTemplateId: String? = null)
Content copied to clipboard
Parameters
email
the address the OTP code would be sent to via Email
expirationMinutes
indicates how long the OTP should last before it expires
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.