PHP

OAuth::setTimestamp

OAuth::setTimestamp

(PECL OAuth >= 1.0.0)

OAuth::setTimestamp — Set the timestamp

Description

public mixed OAuth::setTimestamp ( string $timestamp )

Sets the OAuth timestamp for subsequent requests.

Warning

This function is currently not documented; only its argument list is available.

Parameters

timestamp

The timestamp.

Return Values

Returns TRUE, unless the timestamp is invalid, in which case FALSE is returned.

Changelog

VersionDescription
1.0.0Previously returned NULL on failure, instead of FALSE.

See Also

  • OAuth::setNonce() - Set the nonce for subsequent requests

← OAuth::setSSLChecks

OAuth::setToken →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/oauth.settimestamp.php