MCPcopy Create free account
hub / github.com/authlib/authlib / get_body

Method get_body

authlib/common/errors.py:41–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 return self.description
40
41 def get_body(self):
42 error = [("error", self.error)]
43
44 if self.description:
45 error.append(("error_description", self.description))
46
47 if self.uri:
48 error.append(("error_uri", self.uri))
49 return error
50
51 def get_headers(self):
52 return default_json_headers[:]

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected