(PECL OAuth >= 0.99.1)
L'extension OAuth fournit une interface simple pour interagir avec des fournisseur de données, en utilisant les spécifications OAuth HTTP pour protéger les ressources.
$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
= ?
): mixed$http_method
, string $url
, mixed $extra_parameters
= ?
): string|false$access_token_url
, string $auth_session_handle
= ?
, string $verifier_token
= ?
, string $http_method
= ?
): array$http_method
, string $url
, mixed $extra_parameters
= ?
): string|false$request_token_url
, string $callback_url
= ?
, string $http_method
= ?
): array