Package com.stytch.sdk.b2b.passwords
Class Passwords.AuthParameters
-
- All Implemented Interfaces:
public final class Passwords.AuthParametersData class used for wrapping parameters used with Password Authentication
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorganizationIdprivate final StringemailAddressprivate final Stringpasswordprivate final IntegersessionDurationMinutesprivate final Localelocale
-
Constructor Summary
Constructors Constructor Description Passwords.AuthParameters(String organizationId, String emailAddress, String password, Integer sessionDurationMinutes, Locale locale)Passwords.AuthParameters(String organizationId, String emailAddress, String password, Integer sessionDurationMinutes)Passwords.AuthParameters(String organizationId, String emailAddress, String password)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationId()is the member's organization ID final StringgetEmailAddress()is the member's email address final StringgetPassword()is the member's password final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires final LocalegetLocale()Used to determine which language to use when sending the user this delivery method. -
-
Constructor Detail
-
Passwords.AuthParameters
Passwords.AuthParameters(String organizationId, String emailAddress, String password, Integer sessionDurationMinutes, Locale locale)
-
Passwords.AuthParameters
Passwords.AuthParameters(String organizationId, String emailAddress, String password, Integer sessionDurationMinutes)
-
-
Method Detail
-
getOrganizationId
final String getOrganizationId()
is the member's organization ID
-
getEmailAddress
final String getEmailAddress()
is the member's email address
-
getPassword
final String getPassword()
is the member's password
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
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.
-
-
-
-