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

Method _extract_session_request_params

authlib/oauth2/client.py:519–525  ·  view source on GitHub ↗

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

(self, kwargs)

Source from the content-addressed store, hash-verified

517 return prepare_token_request(grant_type, body, **kwargs)
518
519 def _extract_session_request_params(self, kwargs):
520 """Extract parameters for session object from the passing ``**kwargs``."""
521 rv = {}
522 for k in self.SESSION_REQUEST_PARAMS:
523 if k in kwargs:
524 rv[k] = kwargs.pop(k)
525 return rv
526
527 def _http_post(self, url, body=None, auth=None, headers=None, **kwargs):
528 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