php8.5
Home/ Manual/ oauth / oauth/ OAuth::setNonce

OAuth::setNonce

PHP function Edit on GitHub ✎

(PECL OAuth >= 0.99.1)

Set the nonce for subsequent requests

Description

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

VersionDescription
PECL oauth 1.0.0Null

See Also

  • OAuth::setToken
  • OAuth::setAuthType
  • OAuth::setVersion

Source: reference/oauth/oauth/setnonce.xml · from the official PHP manual (php/doc-en)