(PECL OAuth >= 0.99.1)
此 OAuth 擴(kuò)展提供一個(gè)簡(jiǎn)單接口使用 OAuth HTTP 規(guī)范與數(shù)據(jù)提供者互動(dòng),以便保護(hù)私有資源。
$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, string $auth_session_handle = ?, string $verifier_token = ?): array