OAuthProvider::checkOAuthRequest
PHP function
Edit on GitHub ✎
(PECL OAuth >= 1.0.0)
Check an oauth request
Description
OAuthProvider::checkOAuthRequest([string $uri], [string $method]): void
Checks an OAuth request.
Func
Parameters
uriThe optional URI, or endpoint.
methodThe HTTP method. Optionally pass in one of the
OAUTH_HTTP_METHOD_*OAuth constants.
Return Values
Void
Errors/Exceptions
Emits an E_ERROR level error if the HTTP method cannot be detected.
See Also
OAuthProvider::reportProblem