Class ActiveCookieStore

java.lang.Object
com.djrapitops.plan.delivery.webserver.auth.ActiveCookieStore
All Implemented Interfaces:
SubSystem

@Singleton public class ActiveCookieStore extends Object implements SubSystem
  • Field Details

    • cookieExpiresAfter

      public static long cookieExpiresAfter
  • Constructor Details

    • ActiveCookieStore

      @Inject public ActiveCookieStore(PlanConfig config, DBSystem dbSystem, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, Processing processing)
  • Method Details

    • removeUserCookie

      public static void removeUserCookie(String username)
    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem
    • checkCookie

      public Optional<User> checkCookie(String cookie)
    • generateNewCookie

      public String generateNewCookie(User user)
    • removeCookie

      public void removeCookie(String cookie)
    • removeAll

      public void removeAll()