Class PasskeysViewModel

java.lang.Object
io.jans.casa.ui.vm.user.UserViewModel
io.jans.casa.ui.vm.user.PasskeysViewModel

public class PasskeysViewModel extends UserViewModel
This is the ViewModel of page fido2-detail.zul. It controls the CRUD of passkeys
  • Constructor Details

    • PasskeysViewModel

      public PasskeysViewModel()
  • Method Details

    • getNewDevice

      public FidoDevice getNewDevice()
    • getDevices

      public List<FidoDevice> getDevices()
    • getEditingId

      public String getEditingId()
    • setNewDevice

      public void setNewDevice(FidoDevice newDevice)
    • isUiAwaiting

      public boolean isUiAwaiting()
    • isUiEnrolled

      public boolean isUiEnrolled()
    • childInit

      public void childInit() throws Exception
      Throws:
      Exception
    • afterCompose

      public void afterCompose(org.zkoss.zk.ui.Component view)
    • triggerAttestationRequest

      public void triggerAttestationRequest()
    • notified

      public void notified(org.zkoss.zk.ui.event.Event event) throws Exception
      Throws:
      Exception
    • notifiedErr

      public void notifiedErr(org.zkoss.zk.ui.event.Event event) throws Exception
      Throws:
      Exception
    • add

      public void add()
    • cancel

      public void cancel()
    • prepareForUpdate

      public void prepareForUpdate(FidoDevice dev)
    • cancelUpdate

      public void cancelUpdate(org.zkoss.zk.ui.event.Event event)
    • update

      public void update()
    • delete

      public void delete(FidoDevice device)