mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Calculate expiry date to determine if token refresh is needed
This commit is contained in:
parent
9d6bd4b29a
commit
05c4b6012e
5 changed files with 19 additions and 15 deletions
|
|
@ -9,7 +9,6 @@ from cura.OAuth2.Models import AuthenticationResponse, ResponseData, HTTP_STATUS
|
|||
|
||||
if TYPE_CHECKING:
|
||||
from cura.OAuth2.Models import ResponseStatus
|
||||
from cura.OAuth2.AuthorizationHelpers import AuthorizationHelpers
|
||||
|
||||
|
||||
# This handler handles all HTTP requests on the local web server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue