(PECL OAuth >= 0.99.1)
OAuth::setNonce — Set the nonce for subsequent requests
public OAuth::setNonce ( string $nonce ) : mixed
Sets the nonce for all subsequent requests.
nonce
The value for oauth_nonce.
Returns true
on success, or false
if the nonce
is considered invalid.
Version | Description |
---|---|
PECL oauth 1.0.0 | Previously returned null on failure, instead of false . |
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/oauth.setnonce.php