forked from GNUsocial/gnu-social
helpful documentation for oauthstore nonce stuff
This commit is contained in:
parent
1179ecd13d
commit
2400589c2f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user