OAuth
PHP Manual

La classe OAuth

Introduction

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.

Synopsis de la classe

OAuth
OAuth {
/* Méthodes */
__construct ( string $consumer_key , string $consumer_secret [, string $signature_method [, string $auth_type ]] )
public bool disableDebug ( void )
public bool disableSSLChecks ( void )
public bool enableDebug ( void )
public bool enableSSLChecks ( void )
public bool fetch ( string $protected_resource_url [, array $extra_parameters [, int $http_method [, array $http_headers ]]] )
public array getAccessToken ( string $access_token_url [, string $auth_session_handle [, string $verifier_token ]] )
public string getLastResponse ( void )
public array getLastResponseInfo ( void )
public array getRequestToken ( string $request_token_url , string $callback_url )
public bool setAuthType ( string $auth_type )
public bool setNonce ( string $nonce )
public bool setToken ( string $token , string $token_secret )
public bool setVersion ( string $version )
}

Sommaire


OAuth
PHP Manual