(PECL OAuth >= 0.99.1)
OAuth 擴充套件提供了一個簡單的介面,可以使用 OAuth HTTP 規範與資料供應商互動以保護私人資源。
$consumer_key
,$consumer_secret
,$signature_method
= OAUTH_SIG_METHOD_HMACSHA1
,$auth_type
= 0$protected_resource_url
,$extra_parameters
= ?,$http_method
= ?,$http_headers
= ?$access_token_url
,$auth_session_handle
= ?,$verifier_token
= ?,$http_method
= ?