MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_new_access_token

Method get_new_access_token

src/bsdd/bsdd.py:573–582  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

571 )
572
573 def get_new_access_token(self):
574 self.set_tokens_from_response(
575 requests.post(
576 self.token_endpoint,
577 params={
578 "grant_type": "refresh_token",
579 "refresh_token": self.refresh_token,
580 },
581 ).json()
582 )
583
584 def set_tokens_from_response(self, response):
585 self.access_token = response["access_token"]

Callers 1

get_access_tokenMethod · 0.95

Calls 2

postMethod · 0.45

Tested by

no test coverage detected