PHP 8.3.4 Released!

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 以前失败时返回 null,而不是 false

参见

add a note

User Contributed Notes

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