synapse/api/auth.py
def check(self, event, auth_events, do_sig_check=True):
        """ Checks if this event is correctly authed.

        Args:
            event: the event being checked.
            auth_events (dict: event-key -> event): the existing room state.


        Returns:
            True if the auth checks pass.
        """
        with Measure(self.clock, "auth.check"):
            event_auth.check(event, auth_events, do_sig_check=do_sig_check)
 Checks if this event is correctly authed.

        Args:
            event: the event being checked.
            auth_events (dict: event-key -> event): the existing room state.


        Returns:
            True if the auth checks pass.
        
Checks if this event is correctly authed.
Checks if this event is correctly authed .
def check(self, event, auth_events, do_sig_check=True):
        with Measure(self.clock, "auth.check"):
            event_auth.check(event, auth_events, do_sig_check=do_sig_check)
def check ( self , event , auth_events , do_sig_check = True ) : with Measure ( self . clock , "auth.check" ) : event_auth . check ( event , auth_events , do_sig_check = do_sig_check )
Checks if this event is correctly authed.
Checks if this event is correctly authed .
""" Checks if this event is correctly authed.

        Args:
            event: the event being checked.
            auth_events (dict: event-key -> event): the existing room state.


        Returns:
            True if the auth checks pass.
        """
True if the auth checks pass.
True if the auth checks pass .
self
event
the event being checked.
the event being checked .
auth_events
do_sig_check
auth_events (dict
event-key -> event): the existing room state.
event - key - > event ) : the existing room state .