Class LoginPayload
- java.lang.Object
-
- com.inteliqua.rest.common.auth.payload.LoginPayload
-
public class LoginPayload extends Object
Represents the payload for a login request.This class contains the credentials required for user authentication, including the password and a credential code that uniquely identifies the user's login type.
- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description LoginPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCredentialCode()Gets the credential code.StringgetPassword()Gets the password.voidsetCredentialCode(String credentialCode)Sets the credential code.voidsetPassword(String password)Sets the password.
-
-
-
Method Detail
-
getPassword
public String getPassword()
Gets the password.- Returns:
- The password used for authentication.
-
setPassword
public void setPassword(String password)
Sets the password.- Parameters:
password- The password to be used for authentication.
-
getCredentialCode
public String getCredentialCode()
Gets the credential code.- Returns:
- The credential code uniquely identifying the login type.
-
setCredentialCode
public void setCredentialCode(String credentialCode)
Sets the credential code.- Parameters:
credentialCode- The credential code used to differentiate login cases.
-
-