Class Credentials
java.lang.Object
org.openremote.agent.protocol.tradfri.util.Credentials
The class that contains the credentials used to authenticate to the IKEA TRÅDFRI gateway
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct the Credentials classCredentials
(String identity, String key) Construct the Credentials class -
Method Summary
Modifier and TypeMethodDescriptionGet the identity that can be used to authenticate to the IKEA TRÅDFRI gatewaygetKey()
Get the key that can be used to authenticate to the IKEA TRÅDFRI gatewayvoid
setIdentity
(String identity) Set the identity that can be used to authenticate to the IKEA TRÅDFRI gatewayvoid
Set the key that can be used to authenticate to the IKEA TRÅDFRI gateway
-
Constructor Details
-
Credentials
Construct the Credentials class- Parameters:
identity
- The identity that can be used to authenticate to the IKEA TRÅDFRI gatewaykey
- The key that can be used to authenticate to the IKEA TRÅDFRI gateway
-
Credentials
public Credentials()Construct the Credentials class
-
-
Method Details
-
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
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
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
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
-