OAuth クラス
導入
OAuth 拡張モジュールは、データプロバイダとやりとりするためのシンプルなインターフェイスを提供します。 OAuth HTTP 仕様を用いることで、プライベートなリソースを保護します。
クラス概要
OAuth
OAuth
{
/* メソッド */
__construct
( string $consumer_key
, string $consumer_secret
[, string $signature_method
[, string $auth_type
]] )
public bool fetch
( string $protected_resource_url
[, array $extra_parameters
[, int $http_method
[, array $http_headers
]]] )
}目次
- OAuth::__construct — 新しい OAuth オブジェクトを作成する
- OAuth::disableDebug — デバッグを無効にする
- OAuth::disableSSLChecks — SSL チェックを無効にする
- OAuth::enableDebug — デバッグを有効にする
- OAuth::enableSSLChecks — SSL チェックを有効にする
- OAuth::fetch — OAuth で保護されたリソースを取得する
- OAuth::getAccessToken — getAccessToken
- OAuth::getLastResponse — 直近のレスポンスを取得する
- OAuth::getLastResponseInfo — 直近のレスポンスの HTTP 情報を取得する
- OAuth::getRequestToken — リクエストトークンを取得する
- OAuth::setAuthType — setAuthType
- OAuth::setNonce — 続くリクエスト用のノンスを設定する
- OAuth::setToken — トークンと secret を設定する
- OAuth::setVersion — OAuth のバージョンを設定する
OAuth
There are no user contributed notes for this page.
