CakeFest 2024: The Official CakePHP Conference

OAuth::setNonce

(PECL OAuth >= 0.99.1)

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

説明

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

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

パラメータ

nonce

oauth_nonce の値。

戻り値

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

変更履歴

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

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top