Class Credentials

java.lang.Object
org.openremote.agent.protocol.tradfri.util.Credentials

public class Credentials extends Object
The class that contains the credentials used to authenticate to the IKEA TRÅDFRI gateway
  • Constructor Details

    • Credentials

      public Credentials(String identity, String key)
      Construct the Credentials class
      Parameters:
      identity - The identity that can be used to authenticate to the IKEA TRÅDFRI gateway
      key - The key that can be used to authenticate to the IKEA TRÅDFRI gateway
    • Credentials

      public Credentials()
      Construct the Credentials class
  • Method Details

    • getIdentity

      public String getIdentity()
      Get the identity that can be used to authenticate to the IKEA TRÅDFRI gateway
      Returns:
      The identity that can be used to authenticate to the IKEA TRÅDFRI gateway
    • getKey

      public String getKey()
      Get the key that can be used to authenticate to the IKEA TRÅDFRI gateway
      Returns:
      The key that can be used to authenticate to the IKEA TRÅDFRI gateway
    • setIdentity

      public void setIdentity(String identity)
      Set the identity that can be used to authenticate to the IKEA TRÅDFRI gateway
      Parameters:
      identity - The new identity that can be used to authenticate to the IKEA TRÅDFRI gateway
    • setKey

      public void setKey(String key)
      Set the key that can be used to authenticate to the IKEA TRÅDFRI gateway
      Parameters:
      key - The new key that can be used to authenticate to the IKEA TRÅDFRI gateway