Module sc2002_fypms
Package interfaces

Interface IAuthService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean login​(java.lang.String userID, java.lang.String password)
      Logs in a user with the specified user ID and password.
      boolean logout()
      Logs out the currently logged in user.
    • Method Detail

      • login

        boolean login​(java.lang.String userID,
                      java.lang.String password)
        Logs in a user with the specified user ID and password.
        Parameters:
        userID - the ID of the user
        password - the user's password
        Returns:
        true if the login was successful, false otherwise
      • logout

        boolean logout()
        Logs out the currently logged in user.
        Returns:
        true if the logout was successful, false otherwise