OAuthProvider::checkOAuthRequest

(PECL OAuth >= 1.0.0)

OAuthProvider::checkOAuthRequest檢查一個(gè) oauth 請求

說明

public OAuthProvider::checkOAuthRequest(string $uri = ?, string $method = ?): void

檢查一個(gè) OAuth 請求。

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

uri

可選的 URI 或終點(diǎn)。

method

HTTP 方法。 可選 OAUTH_HTTP_METHOD_* OAuth 常量 其中之一傳遞。

返回值

沒有返回值。

錯(cuò)誤/異常

如果不能檢測到 HTTP 方法,則發(fā)出一個(gè) E_ERROR 級別的錯(cuò)誤。

參見