Class AuthnSMSCounter


  • @Component
    public class AuthnSMSCounter
    extends Object
    Authn sms limit counter. Used by SMSVerificator to check how many authn sms have been sent to user
    Author:
    P.Piernik
    • Constructor Detail

      • AuthnSMSCounter

        @Autowired
        public AuthnSMSCounter​(pl.edu.icm.unity.engine.api.utils.CacheProvider cacheProvider)
    • Method Detail

      • incValue

        public void incValue​(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
      • reset

        public boolean reset​(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)
      • getValue

        public int getValue​(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject username)