Cura/cura/OAuth2
Ghostkeeper f1c763ad9f
Use HttpRequestManager to acquire new tokens
This is a re-write from a previous attempt. Instead of requests, which doesn't properly use SSL certificates installed on the computer among other things, we'll now use the HttpRequestManager which uses QNetworkManager under the hood and properly uses system settings.
The QNetworkManager is asynchronous which would normally be very nice, but due to the nature of this call we want to make it synchronous so we'll use a lock here.

Contributes to issue CURA-8539.
2021-11-17 14:32:53 +01:00
..
__init__.py Fix code style and documentation formatting 2019-02-08 11:10:43 +01:00
AuthorizationHelpers.py Use HttpRequestManager to acquire new tokens 2021-11-17 14:32:53 +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 Fix crash with login 2021-10-01 13:43:33 +02: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