MCPcopy Index your code
hub / github.com/authlib/authlib / request

Method request

authlib/integrations/base_client/async_app.py:88–91  ·  view source on GitHub ↗
(self, method, url, token=None, **kwargs)

Source from the content-addressed store, hash-verified

86 return self.server_metadata
87
88 async def request(self, method, url, token=None, **kwargs):
89 metadata = await self.load_server_metadata()
90 async with self._get_oauth_client(**metadata) as session:
91 return await _http_request(self, session, method, url, token, kwargs)
92
93 async def create_authorization_url(self, redirect_uri=None, **kwargs):
94 """Generate the authorization url and state for HTTP redirect.

Callers

nothing calls this directly

Calls 3

load_server_metadataMethod · 0.95
_http_requestFunction · 0.85
_get_oauth_clientMethod · 0.45

Tested by

no test coverage detected