Class DeviceProfileCallback

java.lang.Object
org.forgerock.openam.authentication.callbacks.DeviceProfileCallback
All Implemented Interfaces:
Callback

@Supported public final class DeviceProfileCallback extends Object implements Callback
Class representative of a DeviceProfileCallback Callback Object which instructs a client to capture device profile.
  • Method Details

    • isMetadata

      @Supported public Boolean isMetadata()
      Gets the metadata associated with this callback.
      Returns:
      the metadata.
    • isLocation

      @Supported public Boolean isLocation()
      Gets the location associated with this callback.
      Returns:
      the location.
    • getValue

      @Supported public String getValue()
      Get the value set on the DeviceProfileCallback when it is sent in a REST request.
      Returns:
      The value set on the callback.
    • setValue

      @Supported public void setValue(String value)
      Set the value on the DeviceProfileCallback.
      Parameters:
      value - The value to set on the callback.
    • getMessage

      @Supported public String getMessage()
      Gets the message associated with this callback.
      Returns:
      the message to display.
    • builder

      @Supported public static DeviceProfileCallback.Builder builder()
      Get a builder for constructing a new DeviceProfileCallback.
      Returns:
      a new builder