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

OAuthProvider::reportProblem

PHP function Edit on GitHub ✎

(PECL OAuth >= 1.0.0)

Report a problem

Description

OAuthProvider::reportProblem(string $oauthexception, bool $send_headers = true): string

Pass in a problem as an OAuthException, with possible problems listed in the OAuth constants section.

Func

Parameters

oauthexception

The OAuthException.

Return Values

Void

See Also

  • OAuthProvider::checkOAuthRequest
  • OAuthProvider::isRequestTokenEndpoint

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