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

Method execute_hook

authlib/oauth2/rfc6749/hooks.py:13–15  ·  view source on GitHub ↗
(self, hook_type, *args, **kwargs)

Source from the content-addressed store, hash-verified

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]:
15 hook(self, *args, **kwargs)
16
17
18def hooked(func=None, before=None, after=None):

Callers 2

wrapperFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected