Parameters
fun Parameters( email: String, organizationId: String, loginRedirectUrl: String? = null, signupRedirectUrl: String? = null, loginTemplateId: String? = null, signupTemplateId: String? = null)
Content copied to clipboard
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
organizationId
is the member's organization ID
loginRedirectUrl
is the url where you should be redirected for login
signupRedirectUrl
is the url where you should be redirected for signup
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.