PHP Portal » PHP Handbuch » The OAuth class

Werbung

The OAuth class


Einführung

The OAuth extension provides a simple interface to interact with data providers using the OAuth HTTP specification to protect private resources.

Klassenbeschreibung

OAuth
OAuth {
/* Methods */
__construct ( string $consumer_key , string $consumer_secret [, string $signature_method [, int $auth_type = 0 ]] )
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 [, string $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 ( int $auth_type )
public bool setNonce ( string $nonce )
public bool setToken ( string $token , string $token_secret )
public bool setVersion ( string $version )
}

Inhaltsverzeichnis