略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: OAuth::setNonce

2024-05-03

OAuth::setNonce

(PECL OAuth >= 0.99.1)

OAuth::setNonce为后续请求设置现时标志

说明

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

为所有后续请求设置现时标志。

参数

nonce

oauth_nonce 的值。

返回值

成功返回 true ,如果 nonce 被认为无效,则返回 false

更新日志

版本 说明
1.0.0 以前失败时返回 null,而不是 false

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/oauth.setnonce.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3