MCPcopy
hub / github.com/authlib/authlib / create_client

Method create_client

authlib/integrations/flask_client/__init__.py:40–43  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

38 app.extensions["authlib.integrations.flask_client"] = self
39
40 def create_client(self, name):
41 if not self.app:
42 raise RuntimeError("OAuth is not init with Flask app.")
43 return super().create_client(name)
44
45 def register(self, name, overwrite=False, **kwargs):
46 self._registry[name] = (overwrite, kwargs)

Callers 2

registerMethod · 0.95
test_create_clientFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_create_clientFunction · 0.76