Class DuoDevice

java.lang.Object
net.shibboleth.idp.authn.duo.impl.DuoDevice

public class DuoDevice
extends Object
Represents a Duo device, intended for use with a jackson ObjectMapper.
  • Field Details

    • device

      @Nullable private String device
      the Duo device identifier.
    • type

      @Nullable private String type
      the Duo device type.
    • number

      @Nullable private String number
      the Duo device number.
    • name

      @Nullable private String name
      the Duo device name.
    • capabilities

      @Nullable private List<String> capabilities
      a List of Duo device capabilities.
  • Constructor Details

    • DuoDevice

      public DuoDevice()
      Constructor.
  • Method Details

    • getDevice

      @Nullable public String getDevice()
      Get the device identifier.
      Returns:
      the device identifier
    • getType

      @Nullable public String getType()
      Get the device type.
      Returns:
      the device type
    • getNumber

      @Nullable public String getNumber()
      Get the device number.
      Returns:
      the device number
    • getName

      @Nullable public String getName()
      Get the device name.
      Returns:
      the device name
    • getCapabilities

      @Nonnull public Collection<String> getCapabilities()
      Get the device capabilities.
      Returns:
      the device capabilities