array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'oauth.setnonce.php', 1 => 'OAuth::setNonce', 2 => 'Set the nonce for subsequent requests', ), 'up' => array ( 0 => 'class.oauth.php', 1 => 'OAuth', ), 'prev' => array ( 0 => 'oauth.setcapath.php', 1 => 'OAuth::setCAPath', ), 'next' => array ( 0 => 'oauth.setrequestengine.php', 1 => 'OAuth::setRequestEngine', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/oauth/oauth/setnonce.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

OAuth::setNonce

(PECL OAuth >= 0.99.1)

OAuth::setNonceSet 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.

Журнал змін

Версія Опис
PECL oauth 1.0.0 Раніше в разі помилки замість false повертався null.

Прогляньте також