Class PushDeviceSettings


  • public final class PushDeviceSettings
    extends DeviceSettings
    Data model representation of an Push device's settings.
    Since:
    13.5.0
    • Constructor Detail

      • PushDeviceSettings

        public PushDeviceSettings()
        Empty no-arg constructor for Jackson usage, due to presence of non-default constructor.
      • PushDeviceSettings

        public PushDeviceSettings​(String sharedSecret,
                                  String deviceName)
        Construct a new PushDeviceSettings object with the provided values.
        Parameters:
        sharedSecret - The device's shared secret. Non-null value.
        deviceName - An arbitrary identifier for the device. Non-null value.
    • Method Detail

      • setCommunicationId

        public void setCommunicationId​(String communicationId)
        Set the communication ID used to reference the user's handset on the wire.
        Parameters:
        communicationId - The communication id. Can not be null.
      • setDeviceId

        public void setDeviceId​(String deviceId)
        Set the device ID used to reference the user's handset.
        Parameters:
        deviceId - The device id. Can not be null.
      • setSharedSecret

        public void setSharedSecret​(String sharedSecret)
        Set the secret value which is shared between the Push device and an authenticating module.
        Parameters:
        sharedSecret - The shared secret. Can not be null.
      • setDeviceName

        public void setDeviceName​(String deviceName)
        Set an arbitrary identifier for the device.
        Parameters:
        deviceName - The identifier. Can not be null.
      • setDeviceMechanismUID

        public void setDeviceMechanismUID​(String deviceMechanismUID)
        Set the Device Mechanism ID.
        Parameters:
        deviceMechanismUID - The identifier (unique on the phone) to the specific mechanism.
      • setCommunicationType

        public void setCommunicationType​(String communicationType)
        The communication medium used to commune with this device
        Parameters:
        communicationType - The communication medium.
      • setDeviceType

        public void setDeviceType​(String deviceType)
        The type of device we are communicating with.
        Parameters:
        deviceType - The device type (likely ios or android).
      • setIssuer

        public void setIssuer​(String issuer)
        The name of the issuer when this device profile was issued.
        Parameters:
        issuer - The name of the issuer.
      • getSharedSecret

        public String getSharedSecret()
        Get the secret value which is shared between the OATH device and an authenticating module.
        Returns:
        The shared secret.
      • getDeviceName

        public String getDeviceName()
        Get the arbitrary identifier for the Push device.
        Returns:
        The identifier.
      • getCommunicationId

        public String getCommunicationId()
        Get the communication ID for the Push device on the communication network.
        Returns:
        The communication identifier.
      • getDeviceMechanismUID

        public String getDeviceMechanismUID()
        Get the Device Mechanism ID for the push device.
        Returns:
        the Device Mechanism ID.
      • getDeviceType

        public String getDeviceType()
        Get the type of the Push device.
        Returns:
        The identifier.
      • getDeviceId

        public String getDeviceId()
        Get the arbitrary identifier for the Push device.
        Returns:
        The identifier.
      • getIssuer

        public String getIssuer()
        Get the issuer of the Push device.
        Returns:
        The issuer.
      • getCommunicationType

        public String getCommunicationType()
        Get the communication ID for the Push device on the communication network..
        Returns:
        The communication identifier.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object