(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 = ?