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

OAuth::enableSSLChecks

PHP function Edit on GitHub ✎

(PECL OAuth >= 0.99.5)

Turn on SSL checks

Description

OAuth::enableSSLChecks(): bool

Turns on the usual SSL peer certificate and host checks (enabled by default). Alternatively, the sslChecks property can be set to a non-false value to turn SSL checks on.

Parameters Parameters

Return Values

true

Changelog

VersionDescription
PECL oauth 0.99.8The sslChecks member was added

See Also

  • OAuth::disableSSLChecks

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