Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dwavesystems/dwave-cloud-client
/ refresh_token
Method
refresh_token
dwave/cloud/auth/flows.py:239–242 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
237
return
token
238
239
def
refresh_token(self):
240
token = self.session.refresh_token(url=self.token_endpoint)
241
self._save_token_to_creds(token)
242
return
token
243
244
def
revoke_token(self, *,
245
token: Optional[str] = None,
Callers
4
test_refresh_token
Method · 0.95
refresh
Function · 0.80
list_leap_projects
Function · 0.80
_get_sapi_token_for_leap_project
Function · 0.80
Calls
1
_save_token_to_creds
Method · 0.95
Tested by
1
test_refresh_token
Method · 0.76