* [myq] Remove the access token when the thing is removed
* oAuthService.removeAccessTokenRefreshListener added
Related to #14818
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Add default translations for binding add-ons
This makes the texts used by these add-ons translatable with Crowdin.
To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.
There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.
Signed-off-by: Wouter Born <github@maindrain.net>
* 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>
* Rebase with main, update license headers
* Small PR cleanups
* One last small PR cleanup
* Syntactical sugar
* Updated error handling
* Spelling mistake
Signed-off-by: Dan Cunningham <dan@digitaldan.com>