Class OTPExtension

java.lang.Object
io.jans.casa.plugins.authnmethod.OTPExtension
All Implemented Interfaces:
io.jans.casa.extension.AuthnMethod, org.pf4j.ExtensionPoint

@Extension public class OTPExtension extends Object implements io.jans.casa.extension.AuthnMethod
Note: No injection can take place at extensions because instances are handled by p4fj
  • Field Details

  • Constructor Details

    • OTPExtension

      public OTPExtension()
  • Method Details

    • getUINameKey

      public String getUINameKey()
      Specified by:
      getUINameKey in interface io.jans.casa.extension.AuthnMethod
    • getAcr

      public String getAcr()
      Specified by:
      getAcr in interface io.jans.casa.extension.AuthnMethod
    • getPanelTitleKey

      public String getPanelTitleKey()
      Specified by:
      getPanelTitleKey in interface io.jans.casa.extension.AuthnMethod
    • getPanelTextKey

      public String getPanelTextKey()
      Specified by:
      getPanelTextKey in interface io.jans.casa.extension.AuthnMethod
    • getPanelButtonKey

      public String getPanelButtonKey()
      Specified by:
      getPanelButtonKey in interface io.jans.casa.extension.AuthnMethod
    • getPanelBottomTextKey

      public String getPanelBottomTextKey()
      Specified by:
      getPanelBottomTextKey in interface io.jans.casa.extension.AuthnMethod
    • getPageUrl

      public String getPageUrl()
      Specified by:
      getPageUrl in interface io.jans.casa.extension.AuthnMethod
    • getEnrolledCreds

      public List<io.jans.casa.credential.BasicCredential> getEnrolledCreds(String id)
      Specified by:
      getEnrolledCreds in interface io.jans.casa.extension.AuthnMethod
    • getTotalUserCreds

      public int getTotalUserCreds(String id)
      Specified by:
      getTotalUserCreds in interface io.jans.casa.extension.AuthnMethod
    • mayBe2faActivationRequisite

      public boolean mayBe2faActivationRequisite()
      Specified by:
      mayBe2faActivationRequisite in interface io.jans.casa.extension.AuthnMethod
    • reloadConfiguration

      public void reloadConfiguration()
      Specified by:
      reloadConfiguration in interface io.jans.casa.extension.AuthnMethod