Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve access token handling #37

Merged

Conversation

sebastian-rahlf
Copy link
Contributor

I've noticed that the value of the access token is not be updated when HomeConnectApi.logout() is called. It also seems more straight-forward to update the value whenever the token is refreshed (i.e. during authenticate() and refreshToken()).

sebastian-rahlf and others added 3 commits July 6, 2023 15:33
It makes more sense to update the _accessToken property, which is needed by commonHeaders, whereever it is changed.
@silverhairs silverhairs merged commit 1d9b9c4 into KitchenStories:main Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants