mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
More implementation for getting remote clusters, add some TODOs
This commit is contained in:
parent
ca1c5fb48c
commit
04cc6193d6
2 changed files with 61 additions and 7 deletions
|
@ -60,6 +60,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||
# TODO: show message to user to sign in
|
||||
self.setAuthenticationState(AuthState.NotAuthenticated)
|
||||
else:
|
||||
# TODO: not execute call at all when not signed in?
|
||||
self.setAuthenticationState(AuthState.Authenticated)
|
||||
request.setRawHeader(b"Authorization", "Bearer {}".format(self._account.accessToken).encode())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue