diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 13:00:13 -0800 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-07 13:00:13 -0800 |
commit | 2400589c2fc9355679b5da318286ecf96e386133 (patch) | |
tree | da71910473877dc0f233d938f556d68d38a4edac | |
parent | 1179ecd13d68e76d74ad94e2d3ca22d9681eeffe (diff) |
helpful documentation for oauthstore nonce stuff
-rw-r--r-- | lib/oauthstore.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php index 7d2e1f27b..183164e17 100644 --- a/lib/oauthstore.php +++ b/lib/oauthstore.php @@ -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(); |