The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Enlighted

The Enlighted lighting solution optimizes energy savings while enhancing occupant productivity, well-being, and security.

Command Type: refreshCredentials¶

Description: The "refreshCredentials" command is a feature used to update and extend the authentication credentials to establish and maintain a connection with the streaming API.

Use Case: This command ensures that the client's authentication credentials remain valid and up to date during the connection duration. It helps maintain a secure and uninterrupted connection to the streaming API.

Response: refreshSuccess

PropertyTypeNotes
typestringMust be refreshCredentials
tokenstringAuth0 token to reauthenticate with. Must be Bearer <token>
selectedTenantRolestringTenant to role mapping that indicates which role provided by the token to assume. Has the form <tenant>:<role_name>
requestIdoptional stringIf provided, responses to the command include the same requestId