]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
helpful documentation for oauthstore nonce stuff
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 21:00:13 +0000 (13:00 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 7 Mar 2009 21:00:13 +0000 (13:00 -0800)
lib/oauthstore.php

index 7d2e1f27b60a3ed765db745fff6fb057baf84a1c..183164e170a86ae2353d4c3d6266d5a6c1024ebc 100644 (file)
@@ -54,6 +54,12 @@ class LaconicaOAuthDataStore extends OAuthDataStore
         }
     }
 
+    // http://oauth.net/core/1.0/#nonce
+    // "The Consumer SHALL then generate a Nonce value that is unique for
+    // all requests with that timestamp."
+
+    // XXX: It's not clear why the token is here
+
     function lookup_nonce($consumer, $token, $nonce, $timestamp)
     {
         $n = new Nonce();