Cura/cura/OAuth2
Ghostkeeper 920d9b9d44
Make _parseJWT asynchronous as well
Now it calls checkToken correctly. However now this _parseJWT is not called correctly since there are things calling this one in an attempt to be synchronous again.
There is the additional issue that we can't call getAccessTokenUsingRefreshToken synchronously now, because this runs on the main thread and it will then block the main thread until the request is made, which is never because the request is also done on the main thread via Qt's event loop.

Contributes to issue CURA-8539.
2021-11-18 17:33:39 +01:00
..
__init__.py Fix code style and documentation formatting 2019-02-08 11:10:43 +01:00
AuthorizationHelpers.py Add failed callback for when the request fails 2021-11-18 17:19:05 +01:00
AuthorizationRequestHandler.py Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
AuthorizationRequestServer.py Fix Authorization server not properly stopping after flow completes. 2020-06-09 15:12:26 +02:00
AuthorizationService.py Make _parseJWT asynchronous as well 2021-11-18 17:33:39 +01:00
KeyringAttribute.py Make this run from source again on Windows. 2021-09-01 16:56:47 +02:00
LocalAuthorizationServer.py Add extra logging to auth server 2021-07-23 10:40:30 +02:00
Models.py Small aesthetic code changes 2021-03-17 09:30:31 +01:00