Commit graph

27 commits

Author SHA1 Message Date
addshore afb5b8c3ea Update for new hOn login
https://github.com/Andre0512/hon/issues/230
2024-07-10 12:39:18 +01:00
Andre Basche e225a850bc Fix checks 2024-02-11 05:11:21 +01:00
Andre Basche c4e8038652 Fix problems with refresh token 2024-02-11 05:11:21 +01:00
Andre Basche 767cbe35de Set refresh token 2024-02-11 05:11:21 +01:00
Andre Basche 5a778373b6 Enable more pylint checks 2023-07-16 05:53:23 +02:00
Andre Basche a10ab4423e Add stricter mypy rules 2023-07-01 14:59:09 +02:00
Andre Basche 9eb99f283b Add more type hints 2023-06-28 19:02:11 +02:00
Andre Basche 3c7ad3f395 Fix changed hOn login 2023-06-07 02:27:02 +02:00
Andre Basche 7dcb34559b Raise error if missing token 2023-04-24 21:50:25 +02:00
Andre Basche b04c601ad6 Add log for empty token 2023-04-21 23:51:35 +02:00
Andre Basche 46ff9be4a2 Fix code depts 2023-04-15 23:02:37 +02:00
Andre Basche f54b7b2dbf Add mypy checks 2023-04-15 15:57:36 +02:00
Andre Basche b6ca12ebff Use dataclass for login data 2023-04-15 14:37:27 +02:00
Andre Basche 4a0ee8569b Refactor, add hon auth handler 2023-04-15 14:22:04 +02:00
Andre Basche 272556586e Refresh token workaround because expires to fast 2023-04-14 23:15:27 +02:00
Andre Basche e82c14ec99 Add some type hints 2023-04-13 23:35:43 +02:00
Andre Basche 970b94bfa7 Fix unclear session errors 2023-04-12 19:14:50 +02:00
Andre Basche 33454f68b8 Encode username/password 2023-04-12 02:10:37 +02:00
Andre Basche 6b2c60d552 Fix session issues 2023-04-12 01:07:33 +02:00
Andre Basche 8c832b44cd Fix token refresh problems 2023-04-11 17:09:02 +02:00
Andre Basche b4b782c52c Improve logging for authentication errors 2023-04-11 00:59:00 +02:00
Andre Basche e857fe91de Fix login issue 2023-04-10 20:32:35 +02:00
Andre Basche ba208ffd98 Improve logging 2023-04-10 06:45:56 +02:00
Andre Basche 8dc6cd71cd Format with black 2023-04-09 20:55:36 +02:00
Andre Basche 36fad84ee2 Refactor api access 2023-04-09 20:50:28 +02:00
Andre Basche eb6741145a Get new token via refresh-token #10 2023-04-09 18:43:57 +02:00
Andre Basche 8fa01343bc Use connection handler 2023-04-09 18:13:50 +02:00
Renamed from pyhon/auth.py (Browse further)