Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


The OAuth class

Введение

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

Class synopsis

OAuth
OAuth {
/* Methods */
__construct ( string $consumer_key , string $consumer_secret [, string $signature_method [, string $auth_type ]] )
public bool fetch ( string $protected_resource_url [, array &$extra_parameters ] )
public array getAccessToken ( string $access_token_url [, string $auth_session_handle ] )
public string getLastResponse ( void )
public array getLastResponseInfo ( void )
public array getRequestToken ( string $request_token_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 )
}

Содержание






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |