MCPcopy
hub / github.com/authlib/authlib / client_auth

Method client_auth

authlib/oauth2/client.py:127–134  ·  view source on GitHub ↗
(self, auth_method)

Source from the content-addressed store, hash-verified

125 self._auth_methods[auth.name] = auth
126
127 def client_auth(self, auth_method):
128 if isinstance(auth_method, str) and auth_method in self._auth_methods:
129 auth_method = self._auth_methods[auth_method]
130 return self.client_auth_class(
131 client_id=self.client_id,
132 client_secret=self.client_secret,
133 auth_method=auth_method,
134 )
135
136 @property
137 def token(self):

Callers 5

fetch_tokenMethod · 0.95
refresh_tokenMethod · 0.95
revoke_tokenMethod · 0.95
introspect_tokenMethod · 0.95
_handle_token_hintMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected