OAuthProvider クラス

(PECL OAuth >= 1.0.0)

はじめに

OAuth プロバイダを管理するクラスです。

別のサイトで公開されている詳細なチュートリアル » Writing an OAuth Provider Service には、このサービスを作成する方法がハンズオン形式で公開されています。 OAuth 拡張モジュールのソースの中には » OAuth プロバイダのサンプル もあります。

クラス概要

class OAuthProvider {
/* メソッド */
final public function addRequiredParameter(string $req_params): bool
public function callconsumerHandler(): void
public function callTimestampNonceHandler(): void
public function calltokenHandler(): void
public function checkOAuthRequest(string $uri = ?, string $method = ?): void
public function __construct(array $params_array = ?)
public function consumerHandler(callable $callback_function): void
final public static function generateToken(int $size, bool $strong = false): string
public function is2LeggedEndpoint(mixed $params_array): void
public function isRequestTokenEndpoint(bool $will_issue_request_token): void
final public function removeRequiredParameter(string $req_params): bool
final public static function reportProblem(string $oauthexception, bool $send_headers = true): string
final public function setParam(string $param_key, mixed $param_val = ?): bool
final public function setRequestTokenPath(string $path): bool
public function timestampNonceHandler(callable $callback_function): void
public function tokenHandler(callable $callback_function): void
}

目次

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top