Class ResetPasswordPayload
- java.lang.Object
-
- com.inteliqua.rest.common.auth.payload.ResetPasswordPayload
-
public class ResetPasswordPayload extends Object
Represents the payload for a password reset request.This class contains the necessary fields required to reset a user's password, including the new password, credential code, reset profile code, and an optional one-time pin (OTP) for verification.
- Author:
- mmakantasi
-
-
Constructor Summary
Constructors Constructor Description ResetPasswordPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCredentialCode()Gets the credential code.BooleangetIsPasswordUsed()Checks if the password has been used for login at least once.StringgetOneTimePin()Gets the one-time pin code.StringgetPassword()Gets the new password.StringgetResetPasswordProfileCode()Gets the reset password profile code.voidsetCredentialCode(String credentialCode)Sets the credential code.voidsetIsPasswordUsed(Boolean isPasswordUsed)Sets whether the password has been used for login at least once.voidsetOneTimePin(String oneTimePin)Sets the one-time pin code.voidsetPassword(String password)Sets the new password.voidsetResetPasswordProfileCode(String resetPasswordProfileCode)Sets the reset password profile code.
-
-
-
Method Detail
-
getPassword
public String getPassword()
Gets the new password.
-
setPassword
public void setPassword(String password)
Sets the new password.
-
getCredentialCode
public String getCredentialCode()
Gets the credential code.
-
setCredentialCode
public void setCredentialCode(String credentialCode)
Sets the credential code.
-
getResetPasswordProfileCode
public String getResetPasswordProfileCode()
Gets the reset password profile code.
-
setResetPasswordProfileCode
public void setResetPasswordProfileCode(String resetPasswordProfileCode)
Sets the reset password profile code.
-
getOneTimePin
public String getOneTimePin()
Gets the one-time pin code.
-
setOneTimePin
public void setOneTimePin(String oneTimePin)
Sets the one-time pin code.
-
getIsPasswordUsed
public Boolean getIsPasswordUsed()
Checks if the password has been used for login at least once.
-
setIsPasswordUsed
public void setIsPasswordUsed(Boolean isPasswordUsed)
Sets whether the password has been used for login at least once.
-
-