OAuth::setTimestamp

(PECL OAuth >= 1.0.0)
Set the timestamp
public mixed OAuth::setTimestamp ( string $timestamp )

Sets the OAuth timestamp for subsequent requests.

Parameters:
timestamp

The timestamp.

Returns:

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

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

Changelog:
1.0.0

Previously returned NULL on failure, instead of FALSE.

See also:

OAuth::setNonce() -

doc_php
2016-02-24 16:14:05
Comments
Leave a Comment

Please login to continue.