Interface MultifactorAuthenticationDeviceManager

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MultifactorAuthenticationDeviceManager
This is MultifactorAuthenticationDeviceManager. A general abstraction for each multifactor provider to determine if a given user has registered devices and optionally fetch those devices.
Since:
7.1.0
  • Method Details

    • hasRegisteredDevices

      default boolean hasRegisteredDevices(org.apereo.cas.authentication.principal.Principal principal)
      Has registered devices for a given provider.
      Parameters:
      principal - the principal
      Returns:
      true/false
    • findRegisteredDevices

      List<MultifactorAuthenticationRegisteredDevice> findRegisteredDevices(org.apereo.cas.authentication.principal.Principal principal)
      Find registered devices list.
      Parameters:
      principal - the principal
      Returns:
      the list