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

Method client_auth

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

Source from the content-addressed store, hash-verified

147 self._auth_methods[auth.name] = auth
148
149 def client_auth(self, auth_method):
150 if isinstance(auth_method, str) and auth_method in self._auth_methods:
151 auth_method = self._auth_methods[auth_method]
152 return self.client_auth_class(
153 client_id=self.client_id,
154 client_secret=self.client_secret,
155 auth_method=auth_method,
156 )
157
158 @property
159 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