php8.5
Home/ Manual/ oauth / oauthprovider/ OAuthProvider::checkOAuthRequest

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

uri

The optional URI, or endpoint.

method

The 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

Source: reference/oauth/oauthprovider/checkoauthrequest.xml · from the official PHP manual (php/doc-en)