MCPcopy 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_tokenMethod · 0.95
refreshFunction · 0.80
list_leap_projectsFunction · 0.80

Calls 1

_save_token_to_credsMethod · 0.95

Tested by 1

test_refresh_tokenMethod · 0.76