Class 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 Detail

      • LoginPayload

        public LoginPayload()
    • 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.