Class Fido2Service

java.lang.Object
io.jans.casa.plugins.authnmethod.service.Fido2Service

@Named @ApplicationScoped public class Fido2Service extends Object
  • Constructor Details

    • Fido2Service

      public Fido2Service()
  • Method Details

    • reloadConfiguration

      public void reloadConfiguration()
    • getDevicesTotal

      public int getDevicesTotal(String userId, String appId, boolean active)
    • getDevices

      public List<FidoDevice> getDevices(String userId, String appId, boolean active)
    • updateDevice

      public boolean updateDevice(FidoDevice device)
    • removeDevice

      public boolean removeDevice(FidoDevice device, String userId, String appId, boolean active)
    • removeDevice

      public boolean removeDevice(FidoDevice device)
    • appId

      public String appId()
    • doRegister

      public String doRegister(String userName, String displayName) throws Exception
      Throws:
      Exception
    • verifyRegistration

      public boolean verifyRegistration(String tokenResponse) throws Exception
      Throws:
      Exception
    • getLatestPasskey

      public FidoDevice getLatestPasskey(String userId, long time)
    • getPropertyValue

      public String getPropertyValue(String key)