Class WarlockUserAuthnServiceDummy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      long create(long userId, @NotNull() WarlockUserAuthnService.Authn authn) create an auth for user, and return the authn id
      void modify(long userId, @NotNull() WarlockUserAuthnService.Authn authn) modify items(if not null) of authn
      void renew(long userId, @NotNull() WarlockUserAuthnService.Renew renew) renew password, expired, failedCount, etc.
      void dander(long userId, boolean danger, @NotNull() Array<Enum<out Object>> authType) set user status to danger or not
      List<WarlockUserAuthnService.Item> list(long userId) list auth info of user
      • Methods inherited from class pro.fessional.wings.warlock.service.user.WarlockUserAuthnService

        disable, enable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WarlockUserAuthnServiceDummy

        WarlockUserAuthnServiceDummy()
    • Method Detail

      • create

         long create(long userId, @NotNull() WarlockUserAuthnService.Authn authn)

        create an auth for user, and return the authn id

        Parameters:
        userId - user id
        authn - authn
        Returns:

        id

      • renew

         void renew(long userId, @NotNull() WarlockUserAuthnService.Renew renew)

        renew password, expired, failedCount, etc. use default if null.

        Parameters:
        userId - user id
        renew - item to renew
      • dander

         void dander(long userId, boolean danger, @NotNull() Array<Enum<out Object>> authType)

        set user status to danger or not

        Parameters:
        userId - user
        danger - danger or not
        authType - auth type to reset