Package com.stytch.sdk.b2b.passwords
Class Passwords.ResetByEmailParameters
-
- All Implemented Interfaces:
public final class Passwords.ResetByEmailParametersData class used for wrapping parameters used with Passwords ResetByEmail endpoint
-
-
Constructor Summary
Constructors Constructor Description Passwords.ResetByEmailParameters(String token, String password, Integer sessionDurationMinutes, Locale locale)Passwords.ResetByEmailParameters(String token, String password, Integer sessionDurationMinutes)Passwords.ResetByEmailParameters(String token, String password)
-
Method Summary
Modifier and Type Method Description final StringgetToken()is the unique sequence of characters that should be received after calling the resetByEmailStart final StringgetPassword()is the private sequence of characters you wish to use as a 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. -
-
Method Detail
-
getToken
final String getToken()
is the unique sequence of characters that should be received after calling the resetByEmailStart
-
getPassword
final String getPassword()
is the private sequence of characters you wish to use as a 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.
-
-
-
-