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

Function _config_client

authlib/integrations/base_client/registry.py:129–139  ·  view source on GitHub ↗
(config, kwargs, overwrite)

Source from the content-addressed store, hash-verified

127
128
129def _config_client(config, kwargs, overwrite):
130 for k in OAUTH_CLIENT_PARAMS:
131 v = config.get(k, None)
132 if k not in kwargs:
133 kwargs[k] = v
134 elif overwrite and v:
135 if isinstance(kwargs[k], dict):
136 kwargs[k].update(v)
137 else:
138 kwargs[k] = v
139 return kwargs

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected