You are here

private static function OAuthRequest::generate_timestamp in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthRequest::generate_timestamp()
  2. 6 OAuth.php \OAuthRequest::generate_timestamp()

util function: current timestamp

1 call to OAuthRequest::generate_timestamp()
OAuthRequest::from_consumer_and_token in lib/OAuth.php
pretty much a helper function to set up the request

File

lib/OAuth.php, line 494
OAuth 1.0 server and client library.

Class

OAuthRequest

Code

private static function generate_timestamp() {
  return time();
}