W3cubDocs

/PHP

OAuthProvider::checkOAuthRequest

(PECL OAuth >= 1.0.0)

OAuthProvider::checkOAuthRequestCheck an oauth request

Description

public OAuthProvider::checkOAuthRequest ([ string $uri [, string $method ]] ) : void

Checks an OAuth request.

Warning

This function is currently not documented; only its argument list is available.

Parameters

uri

The optional URI, or endpoint.

method

The HTTP method. Optionally pass in one of the OAUTH_HTTP_METHOD_* OAuth constants.

Return Values

No value is returned.

Errors/Exceptions

Emits an E_ERROR level error if the HTTP method cannot be detected.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/oauthprovider.checkoauthrequest.php