« OAuth::setCAPath
OAuth::setRequestEngine »

OAuth::setNonce

(PECL OAuth >= 0.99.1)

OAuth::setNonce — 続くリクエスト用のノンスを設定する

説明

public function OAuth::setNonce(string $nonce): mixed

それ以降のすべてのリクエスト用のノンスを設定します。

パラメータ

nonce

oauth_nonce の値。

戻り値

成功した場合に true を返します。 nonce が無効な場合に false を返します。

変更履歴

バージョン 説明
PECL oauth 1.0.0 以前は、失敗したときに false ではなく null を返していました。

参考

関連キーワード:
OAuth   リクエスト   ノンス   nonce   setNonce   oauth   setCAPath   setRequestEngine   mixed   成功   無効   履歴   参考   setToken   トークン   secret   setAuthType   認証方式   setVersion
関連する関数・ページ:
oauth.setversion   oauth.setcapath   oauth.settimestamp   oauth.setauthtype   oauth.getcapath   oauth.destruct