php8.5
Home/ Manual/ oauth / oauth/ OAuth::disableSSLChecks

OAuth::disableSSLChecks

PHP function Edit on GitHub ✎

(PECL OAuth >= 0.99.5)

Turn off SSL checks

Description

OAuth::disableSSLChecks(): bool

Turns off the usual SSL peer certificate and host checks, this is not for production environments. Alternatively, the sslChecks member can be set to false to turn SSL checks off.

Parameters Parameters

Return Values

true

Changelog

VersionDescription
PECL oauth 0.99.8The sslChecks member was added

See Also

  • OAuth::enableSSLChecks

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