Interface LoginProcessHandler


public interface LoginProcessHandler
This interface is used to handle the login process. This is used by the ClassiCubeHandler.
  • Method Details

    • handleMfa

      void handleMfa(CCAccount account)
      Handles the MFA process. This is called when the account has MFA enabled. The user should be prompted to enter the MFA code.
      Parameters:
      account - The account that has MFA enabled.
    • handleSuccessfulLogin

      void handleSuccessfulLogin(CCAccount account)
      Handles the successful login. This is called when the login was successful.
      Parameters:
      account - The account that was used for the login.
    • handleException

      void handleException(Throwable throwable)
      Handles the failed login. This is called when the login failed.
      Parameters:
      throwable - The throwable that caused the login to fail.