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 jacksonObjectMapper.
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>capabilitiesaListof Duo device capabilities.private Stringdevicethe Duo device identifier.private Stringnamethe Duo device name.private Stringnumberthe Duo device number.private Stringtypethe Duo device type.
-
Constructor Summary
Constructors Constructor Description DuoDevice()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getCapabilities()Get the device capabilities.StringgetDevice()Get the device identifier.StringgetName()Get the device name.StringgetNumber()Get the device number.StringgetType()Get the device type.
-
-
-
Method Detail
-
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
-
-