Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/authlib/authlib
/ register_hook
Method
register_hook
authlib/oauth2/rfc6749/hooks.py:10–11 ·
view source on GitHub ↗
(self, hook_type, hook)
Source
from the content-addressed store, hash-verified
8
self._hooks = defaultdict(set)
9
10
def
register_hook(self, hook_type, hook):
11
self._hooks[hook_type].add(hook)
12
13
def
execute_hook(self, hook_type, *args, **kwargs):
14
for
hook in self._hooks[hook_type]:
Callers
6
__call__
Method · 0.45
__call__
Method · 0.45
__call__
Method · 0.45
__call__
Method · 0.45
__call__
Method · 0.45
validate_authorization_request
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected