(PECL OAuth >= 0.99.1)
The OAuth extension provides a simple interface to interact with data providers using the OAuth HTTP specification to protect private resources.
$consumer_key
, string $consumer_secret
[, string $signature_method
= OAUTH_SIG_METHOD_HMACSHA1
[, int $auth_type
= 0
]] )$protected_resource_url
[, array $extra_parameters
[, string $http_method
[, array $http_headers
]]] )$access_token_url
[, string $auth_session_handle
[, string $verifier_token
]] )