]> git.basschouten.com Git - openhab-addons.git/commit
[myq] Switch to using oAuth for logins (#11183)
authorDan Cunningham <dan@digitaldan.com>
Sat, 11 Sep 2021 11:41:28 +0000 (04:41 -0700)
committerGitHub <noreply@github.com>
Sat, 11 Sep 2021 11:41:28 +0000 (13:41 +0200)
commit7efc3e9e81b8405f1576ebc059d24472f59b8e07
treeb85e142794f95797dc0df1c1d1cfe805205d06f6
parentf055795c2838d9a47cfdf3ab8d20e45a111fb5c3
[myq] Switch to using oAuth for logins (#11183)

* change MyQ binding to use now required oAuth for authentication

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Clean up error handling

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Cleanup checkstyle errors

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* missing newline

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Remove unused classes

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Add token listener

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* add a redirect limit...just in case

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Don't resue the oAuth service if we have been disosed or its closed.  Reduce logging verbosity.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Force login if we get a 401 response

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
bundles/org.openhab.binding.myq/NOTICE
bundles/org.openhab.binding.myq/pom.xml
bundles/org.openhab.binding.myq/src/main/feature/feature.xml
bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/MyQHandlerFactory.java
bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/dto/LoginRequestDTO.java [deleted file]
bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/dto/LoginResponseDTO.java [deleted file]
bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQAccountHandler.java