OAuth
PHP Manual

OAuth::setNonce

(PECL OAuth >= 0.99.1)

OAuth::setNonceSet the nonce for subsequent requests

说明

public mixed OAuth::setNonce ( string $nonce )

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.

更新日志

版本 说明
1.0.0 Previously returned NULL on failure, instead of FALSE.

参见


OAuth
PHP Manual