OAuth::enableSSLChecks
(PECL OAuth >= 0.99.5)
OAuth::enableSSLChecks — Turn on SSL checks
Description
public OAuth::enableSSLChecks ( ) : bool
Turns on the usual SSL peer certificate and host checks (enabled by default). Alternatively, the sslChecks
member can be set to a non-false
value to turn SSL checks off.
Parameters
This function has no parameters.
Return Values
true
Changelog
Version | Description |
---|---|
PECL oauth 0.99.8 | The sslChecks member was added |
See Also
- OAuth::disableSSLChecks() - Turn off SSL checks
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/oauth.enablesslchecks.php