Results of 1 - 10 of about 11 for consumer (0.001 sec.)
- OAuth::__construct — 新しい OAuth オブジェクトを作成する | PHP 8.3 12607
- OAuth::__construct (PECL OAuth >= 0.99.1) OAuth::__construct — 新しい OAuth オブジェクトを作成する 説明 public function OAuth::__construct ( string $consumer_key , string $consumer_secret , string $signature_method = OAUTH_SIG_METHOD_HMACSH
... A1 , int $auth_type = 0 ) 新しい OAuth オブジェクトを作成します。 パラメータ consumer_key サービスプロバイダが提供する consumer key。 consumer_secret サービスプロバイダが提供する consumer secret。 signature_m ...
-
https://man.mtool.work/php/8.3/oauth.construct.html
- OAuthProvider::consumerHandler — consumerHandler コールバックを設定する | PHP 8... 12607
- OAuthProvider::consumerHandler (PECL OAuth >= 1.0.0) OAuthProvider::consumerHandler — consumerHandler コールバックを設定する 説明 public function OAuthProvider::consumerHandler ( callable $callback_function ): void コンシューマハンドラコール
... バックを設定します。これは OAuthProvider::callConsumerHandler() でコールされる関数です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています ... 。 パラメータ callback_function callable 関数名。 戻り値 値を返しません。 例 例1 OAuthProvider::consumerHandler() コールバックの例 <?php function lookupConsumer ( $provider ) { if ( $provider -> consumer_key === 'unknown' ) { r ... eturn OAUTH_CONSUMER_KEY_UNKNOWN ; } else if( $provider -> consumer_key == 'blacklisted' || $provider -> consumer_key === 'throttled' ) { retur ...
-
https://man.mtool.work/php/8.3/oauthprovider.consumerhandler.html
- OAuth::setToken — トークンと secret を設定する | PHP 8.3 8677
- OAuth::setToken (PECL OAuth >= 0.99.1) OAuth::setToken — トークンと secret を設定する 説明 public function OAuth::setToken ( string $token , string $token_secret ): bool それ以降のリクエスト用のトークンと secret を設定します。 パラメータ to
... トークン。 token_secret OAuth トークン secret。 戻り値 true 例 例1 OAuth::setToken() の例 <?php $oauth = new OAuth ( OAUTH_CONSUMER_KEY , OAUTH_CONSUMER_SECRET ); $oauth -> setToken ( "token" , "token-secret" ); ?> 他のマニュアルの関連ページ Python token ...
-
https://man.mtool.work/php/8.3/oauth.settoken.html
- OAuth::setRequestEngine — setRequestEngine | PHP 8.3 8517
- OAuth::setRequestEngine (PECL OAuth >= 1.0.0) OAuth::setRequestEngine — setRequestEngine 説明 public function OAuth::setRequestEngine ( int $reqengine ): void HTTP リクエストの送信に使うリクエストエンジンを設定します。 警告 この関数は、 現在
... 例外 無効なリクエストエンジンを選んだ場合には OAuthException が発生します。 例 例1 OAuth::setRequestEngine() example <?php $consumer = new OAuth (); $consumer -> setRequestEngine ( OAUTH_REQENGINE_STREAMS ); ?> 参考 Curl PHP streams OAuthException 他のマニ ...
-
https://man.mtool.work/php/8.3/oauth.setrequestengine.html
- 定義済み定数 | PHP 8.3 8090
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 これらの定数の大半には何らかの問題があります。問題点については OAuth の公式ペ
... 入れられませんでした。 この場合、レスポンスには oauth_acceptable_timestamps パラメータが含まれていなければなりません。 OAUTH_CONSUMER_KEY_UNKNOWN ( int ) oauth_consumer_key が、一時的にサービスプロバイダに受け入れられませんでした。 プロバイダ側でコンシュー ... マに制限をかけているなどの可能性が考えられます。 OAUTH_CONSUMER_KEY_REFUSED ( int ) コンシューマキーが拒否されました。 OAUTH_INVALID_SIGNATURE ( int ) oauth_signature が無効です。 サービ ...
-
https://man.mtool.work/php/8.3/oauth.constants.html
- 米Yahoo! の位置情報プラットフォーム FireEagle の例 | PHP 8.3 8001
- 米Yahoo! の位置情報プラットフォーム FireEagle の例 <?php $req_url = 'https://fireeagle.yahooapis.com/oauth/request_token' ; $authurl = 'https://fireeagle.yahoo.net/oauth/authorize' ; $acc_url = 'https://fireeagle.yahooapis.com/oauth/access_
... token' ; $api_url = 'https://fireeagle.yahooapis.com/api/0.1' ; $conskey = 'your_consumer_key' ; $conssec = 'your_consumer_secret' ; session_start (); // セッションの state の値が1の場合、次のリクエストには oauth ...
-
https://man.mtool.work/php/8.3/oauth.examples.fireeagle.html
- OAuth::getRequestToken — リクエストトークンを取得する | PHP 8.3 8001
- OAuth::getRequestToken (PECL OAuth >= 0.99.1) OAuth::getRequestToken — リクエストトークンを取得する 説明 public function OAuth::getRequestToken ( string $request_token_url , string $callback_url = ? , string $http_method = ? ): array リクエ
... 99.9 callback_url パラメータが追加されました。 例 例1 OAuth::getRequestToken() の例 <?php try { $oauth = new OAuth ( OAUTH_CONSUMER_KEY , OAUTH_CONSUMER_SECRET ); $request_token_info = $oauth -> getRequestToken ( "https://example.com/oauth/request_token" ...
-
https://man.mtool.work/php/8.3/oauth.getrequesttoken.html
- The MongoDB\Driver\Cursor class | PHP 8.3 7912
- The MongoDB\Driver\Cursor class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Cursor class encapsulates the results of a MongoDB command or query and may be returned by MongoDB\Driver\Manager::executeCommand() or MongoDB\Driver\Manager::exe
... top iteration entirely. In order to demonstrate a tailable cursor in action, two scripts will be used: a "producer" and a "consumer". The producer script will create a new capped collection using the » create command and proceed to insert a new document ... -> executeBulkWrite ( 'test.asteroids' , $bulkWrite ); sleep ( 1 ); } ?> With the producer script still running, a second consumer script may be executed to read the inserted documents using a tailable cursor, indicated by the tailable and awaitData opt ... -> current (); printf ( "Consumed document created at: %s\n" , $document -> createdAt ); } $iterator -> next (); } ?> The consumer script will start by quickly printing all available documents in the capped collection (as if foreach had been used); howe ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-cursor.html
- OAuth::fetch — OAuth で保護されたリソースを取得する | PHP 8.3 7912
- OAuth::fetch (PECL OAuth >= 0.99.1) OAuth::fetch — OAuth で保護されたリソースを取得する 説明 public function OAuth::fetch ( string $protected_resource_url , array $extra_parameters = ? , string $http_method = ? , array $http_headers = ? ):
... 。 PECL oauth 0.99.8 http_headers パラメータが追加されました。 例 例1 OAuth::fetch() の例 <?php try { $oauth = new OAuth ( "consumer_key" , "consumer_secret" , OAUTH_SIG_METHOD_HMACSHA1 , OAUTH_AUTH_TYPE_AUTHORIZATION ); $oauth -> setToken ( "access_token ...
-
https://man.mtool.work/php/8.3/oauth.fetch.html
- OAuth::getAccessToken — アクセストークンを取得する | PHP 8.3 7735
- OAuth::getAccessToken (PECL OAuth >= 0.99.1) OAuth::getAccessToken — アクセストークンを取得する 説明 public function OAuth::getAccessToken ( string $access_token_url , string $verifier_token = ? , string $http_method = ? ): array アクセスト
... 9.9 verifier_token パラメータが追加されました。 例 例1 OAuth::getAccessToken() の例 <?php try { $oauth = new OAuth ( OAUTH_CONSUMER_KEY , OAUTH_CONSUMER_SECRET ); $oauth -> setToken ( $request_token , $request_token_secret ); $access_token_info = $oauth ...
-
https://man.mtool.work/php/8.3/oauth.getaccesstoken.html