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

Method set_tokens_from_response

src/bsdd/bsdd.py:584–588  ·  view source on GitHub ↗
(self, response)

Source from the content-addressed store, hash-verified

582 )
583
584 def set_tokens_from_response(self, response):
585 self.access_token = response["access_token"]
586 self.refresh_token = response["refresh_token"]
587 self.access_token_expires_on = time.time() + response["expires_in"]
588 self.refresh_token_expires_on = time.time() + response["refresh_token_expires_in"]
589
590 # deprecated
591 def Classification(self, namespaceUri, version="v3", languageCode="", includeChildClassificationReferences=True):

Callers 2

loginMethod · 0.95
get_new_access_tokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected