Package com.stytch.sdk.b2b.magicLinks
Class B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters
-
- All Implemented Interfaces:
public final class B2BMagicLinks.EmailMagicLinks.DiscoverySendParametersA data class used for wrapping paramaters used for sending a discovery magic link
-
-
Field Summary
Fields Modifier and Type Field Description private final StringemailAddressprivate final StringdiscoveryRedirectUrlprivate final StringloginTemplateIdprivate final Localelocale
-
Constructor Summary
Constructors Constructor Description B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl, String loginTemplateId, Locale locale)B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl, String loginTemplateId)B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl)B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress)
-
Method Summary
Modifier and Type Method Description final StringgetEmailAddress()is the account identifier for the account in the form of an Email address where you wish to receive a magic link to authenticate final StringgetDiscoveryRedirectUrl()is the url where you should be redirected for organization discovery final StringgetLoginTemplateId()Use a custom template for login emails. final LocalegetLocale()Used to determine which language to use when sending the user this delivery method. -
-
Constructor Detail
-
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl, String loginTemplateId, Locale locale)
-
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl, String loginTemplateId)
-
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress, String discoveryRedirectUrl)
-
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters
B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters(String emailAddress)
-
-
Method Detail
-
getEmailAddress
final String getEmailAddress()
is the account identifier for the account in the form of an Email address where you wish to receive a magic link to authenticate
-
getDiscoveryRedirectUrl
final String getDiscoveryRedirectUrl()
is the url where you should be redirected for organization discovery
-
getLoginTemplateId
final String getLoginTemplateId()
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.
-
getLocale
final Locale getLocale()
Used to determine which language to use when sending the user this delivery method. Currently supported languages are English (
"en"), Spanish ("es"), and Brazilian Portuguese ("pt-br"); if no value is provided, the copy defaults to English.
-
-
-
-