mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 07:48:53 -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
|
|
@ -57,7 +57,6 @@ class Account(QObject):
|
|||
|
||||
def initialize(self) -> None:
|
||||
self._authorization_service.initialize(self._application.getPreferences())
|
||||
|
||||
self._authorization_service.onAuthStateChanged.connect(self._onLoginStateChanged)
|
||||
self._authorization_service.onAuthenticationError.connect(self._onLoginStateChanged)
|
||||
self._authorization_service.loadAuthDataFromPreferences()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue