Package com.stytch.sdk.b2b.passwords
Class Passwords.ResetByExistingPasswordParameters
-
- All Implemented Interfaces:
public final class Passwords.ResetByExistingPasswordParametersData class used for wrapping parameters used with Passwords StrengthCheck endpoint
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorganizationIdprivate final StringemailAddressprivate final StringexistingPasswordprivate final StringnewPasswordprivate final IntegersessionDurationMinutesprivate final Localelocale
-
Constructor Summary
Constructors Constructor Description Passwords.ResetByExistingPasswordParameters(String organizationId, String emailAddress, String existingPassword, String newPassword, Integer sessionDurationMinutes, Locale locale)Passwords.ResetByExistingPasswordParameters(String organizationId, String emailAddress, String existingPassword, String newPassword, Integer sessionDurationMinutes)Passwords.ResetByExistingPasswordParameters(String organizationId, String emailAddress, String existingPassword, String newPassword)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationId()is the member's organization ID final StringgetEmailAddress()is the member's email address final StringgetExistingPassword()The member's current password that they supplied. final StringgetNewPassword()The member's elected new 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.ResetByExistingPasswordParameters
Passwords.ResetByExistingPasswordParameters(String organizationId, String emailAddress, String existingPassword, String newPassword, Integer sessionDurationMinutes, Locale locale)
-
Passwords.ResetByExistingPasswordParameters
Passwords.ResetByExistingPasswordParameters(String organizationId, String emailAddress, String existingPassword, String newPassword, Integer sessionDurationMinutes)
-
-
Method Detail
-
getOrganizationId
final String getOrganizationId()
is the member's organization ID
-
getEmailAddress
final String getEmailAddress()
is the member's email address
-
getExistingPassword
final String getExistingPassword()
The member's current password that they supplied.
-
getNewPassword
final String getNewPassword()
The member's elected new 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.
-
-
-
-