phpday 2027 - Call for Papers

OAuth::setNonce

(PECL OAuth >= 0.99.1)

OAuth::setNonce — Set the nonce for subsequent requests

Description

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

Sets the nonce for all subsequent requests.

Parameters

nonce

The value for oauth_nonce.

Return Values

Returns true on success, or false if the nonce is considered invalid.

Changelog

Version Description
PECL oauth 1.0.0 Previously returned null on failure, instead of false.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top