added updated version of oauthlib
[twitter-api-cdsw] / oauthlib / oauth1 / rfc5849 / endpoints / signature_only.py
index 2f8e7c916c0cc473652ad26206902552224a0cc9..d609b7cb010eab7e2efff03d0e51e9372fce725f 100644 (file)
@@ -61,6 +61,11 @@ class SignatureOnlyEndpoint(BaseEndpoint):
 
         valid_signature = self._check_signature(request)
 
+        # log the results to the validator_log
+        # this lets us handle internal reporting and analysis
+        request.validator_log['client'] = valid_client
+        request.validator_log['signature'] = valid_signature
+
         # We delay checking validity until the very end, using dummy values for
         # calculations and fetching secrets/keys to ensure the flow of every
         # request remains almost identical regardless of whether valid values

Benjamin Mako Hill || Want to submit a patch?