def receive(<EOL>self,<EOL>request: RequestType,<EOL>user: UserType = None,<EOL>sender_key_fetcher: Callable[[str], str] = None,<EOL>skip_author_verification: bool = False) -> Tuple[str, dict]:
self.user = user<EOL>self.get_contact_key = sender_key_fetcher<EOL>self.payload = json.loads(decode_if_bytes(request.body))<EOL>self.request = request<EOL>self.extract_actor()<EOL>if not skip_author_verification:<EOL><INDENT>self.verify_signature()<EOL><DEDENT>return self.actor, self.payload<EOL>
Receive a request.

For testing purposes, `skip_author_verification` can be passed. Authorship will not be verified.