MCPcopy
hub / github.com/authlib/authlib / _extract_session_request_params

Method _extract_session_request_params

authlib/oauth2/client.py:504–510  ·  view source on GitHub ↗

Extract parameters for session object from the passing ``**kwargs``.

(self, kwargs)

Source from the content-addressed store, hash-verified

502 return prepare_token_request(grant_type, body, **kwargs)
503
504 def _extract_session_request_params(self, kwargs):
505 """Extract parameters for session object from the passing ``**kwargs``."""
506 rv = {}
507 for k in self.SESSION_REQUEST_PARAMS:
508 if k in kwargs:
509 rv[k] = kwargs.pop(k)
510 return rv
511
512 def _http_post(self, url, body=None, auth=None, headers=None, **kwargs):
513 return self.session.post(

Callers 5

fetch_tokenMethod · 0.95
refresh_tokenMethod · 0.95
_handle_token_hintMethod · 0.95
__init__Method · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected