<menuitem id="gaejp"><input id="gaejp"><legend id="gaejp"></legend></input></menuitem>
  • <li id="gaejp"><form id="gaejp"></form></li>
    <code id="gaejp"><label id="gaejp"><dfn id="gaejp"></dfn></label></code>
    <var id="gaejp"><input id="gaejp"></input></var>
    • ? oauth_urlencode
    • OAuth::__construct ?
    • Bejson.com
    • PHP Manual
    • OAuth
    • OAuth 類

    OAuth 類

    (PECL OAuth >= 0.99.1)

    簡介

    此 OAuth 擴展提供一個簡單接口使用 OAuth HTTP 規(guī)范與數(shù)據(jù)提供者互動,以便保護私有資源。

    類摘要

    class OAuth {
    /* 屬性 */
    public $debug;
    public $sslChecks;
    public $debugInfo;
    /* 方法 */
    public __construct(
        string $consumer_key,
        string $consumer_secret,
        string $signature_method = OAUTH_SIG_METHOD_HMACSHA1,
        int $auth_type = 0
    )
    public __destruct(): void
    public disableDebug(): bool
    public disableRedirects(): bool
    public disableSSLChecks(): bool
    public enableDebug(): bool
    public enableRedirects(): bool
    public enableSSLChecks(): bool
    public fetch(
        string $protected_resource_url,
        array $extra_parameters = ?,
        string $http_method = ?,
        array $http_headers = ?
    ): mixed
    public generateSignature(string $http_method, string $url, mixed $extra_parameters = ?): string
    public getAccessToken(string $access_token_url, string $auth_session_handle = ?, string $verifier_token = ?): array
    public getCAPath(): array
    public getLastResponse(): string
    public getLastResponseHeaders(): string
    public getLastResponseInfo(): array
    public getRequestHeader(string $http_method, string $url, mixed $extra_parameters = ?): string
    public getRequestToken(string $request_token_url, string $callback_url = ?): array
    public setAuthType(int $auth_type): mixed
    public setCAPath(string $ca_path = ?, string $ca_info = ?): mixed
    public setNonce(string $nonce): mixed
    public setRequestEngine(int $reqengine): void
    public setRSACertificate(string $cert): mixed
    public setSSLChecks(int $sslcheck): bool
    public setTimestamp(string $timestamp): mixed
    public setToken(string $token, string $token_secret): bool
    public setVersion(string $version): bool
    }

    屬性

    debug

    sslChecks

    debugInfo

    目錄

    • OAuth::__construct — 新建一個 OAuth 對象
    • OAuth::__destruct — 析構(gòu)函數(shù)
    • OAuth::disableDebug — 關(guān)閉詳細的調(diào)試
    • OAuth::disableRedirects — 關(guān)閉重定向
    • OAuth::disableSSLChecks — 關(guān)閉 SSL 檢查
    • OAuth::enableDebug — 啟用詳細調(diào)試
    • OAuth::enableRedirects — 啟用重定向
    • OAuth::enableSSLChecks — 啟用 SSL 檢查
    • OAuth::fetch — 獲取一個 OAuth 受保護的資源
    • OAuth::generateSignature — 生成一個簽名
    • OAuth::getAccessToken — 獲取一個訪問令牌
    • OAuth::getCAPath — 獲取 CA 信息
    • OAuth::getLastResponse — 獲取最后一次的響應
    • OAuth::getLastResponseHeaders — 獲取最后一次響應的頭信息
    • OAuth::getLastResponseInfo — 獲取關(guān)于最后一次響應的 HTTP 信息
    • OAuth::getRequestHeader — 生成 OAuth 頭信息字符串簽名
    • OAuth::getRequestToken — 獲取一個請求令牌
    • OAuth::setAuthType — 設置授權(quán)類型
    • OAuth::setCAPath — 設置 CA 路徑和信息
    • OAuth::setNonce — 為后續(xù)請求設置現(xiàn)時標志
    • OAuth::setRequestEngine — 設置目標請求引擎
    • OAuth::setRSACertificate — 設置 RSA 證書
    • OAuth::setSSLChecks — 調(diào)整特定的SSL請求檢查
    • OAuth::setTimestamp — 設置時間戳
    • OAuth::setToken — 設置令牌和 secret
    • OAuth::setVersion — 設置 OAuth 版本

    感谢您访问我们的网站,您可能还对以下资源感兴趣:

    久久国产免费观看精品3_少妇按摩推油舒服到高潮连连_亚洲色欲色欲www在线观看_国自产在线精品一本无码中文
    <form id="q4ypo"></form>
    <menuitem id="q4ypo"><input id="q4ypo"></input></menuitem>
    <big id="q4ypo"></big>
    <dd id="q4ypo"><form id="q4ypo"><small id="q4ypo"></small></form></dd>
    <form id="q4ypo"><meter id="q4ypo"></meter></form>
      <li id="q4ypo"><meter id="q4ypo"></meter></li>
      <samp id="q4ypo"><thead id="q4ypo"><strike id="q4ypo"></strike></thead></samp>
      <li id="q4ypo"><form id="q4ypo"></form></li>
      • <dfn id="q4ypo"><input id="q4ypo"><strong id="q4ypo"></strong></input></dfn>
        <li id="q4ypo"><tr id="q4ypo"></tr></li>