Class SignInController

java.lang.Object
ui.controller.SignInController
All Implemented Interfaces:
NavigationAware

public class SignInController extends Object implements NavigationAware
Controller for the sign-in page. Handles user authentication and navigation after sign in.
  • Constructor Details

    • SignInController

      public SignInController()
  • Method Details

    • setUserSignIn

      public void setUserSignIn(UserSignIn userSignIn)
      Sets the sign in use case.
      Parameters:
      userSignIn - the use case for signing in a user
    • setOnNavigate

      public void setOnNavigate(Consumer<Page> onNavigate)
      Sets the navigation callback.
      Specified by:
      setOnNavigate in interface NavigationAware
      Parameters:
      onNavigate - the callback for navigating to a page