Class LoginResponse
- java.lang.Object
-
- com.inteliqua.rest.common.auth.payload.response.LoginResponse
-
public class LoginResponse extends Object
Represents the response payload for a login request.This class contains information about whether the customer's password has been used at least once for login.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoginResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPasswordUsed()Checks if the password has been used for login at least once.voidsetPasswordUsed(boolean isPasswordUsed)Sets whether the password has been used for login at least once.
-
-
-
Method Detail
-
isPasswordUsed
public boolean isPasswordUsed()
Checks if the password has been used for login at least once.- Returns:
trueif the password has been used before, otherwisefalse.
-
setPasswordUsed
public void setPasswordUsed(boolean isPasswordUsed)
Sets whether the password has been used for login at least once.- Parameters:
isPasswordUsed-trueif the password has been used before, otherwisefalse.
-
-