在线文档教程
PHP

OAuth::enableSSLChecks

OAuth::enableSSLChecks

(PECL OAuth >= 0.99.5)

OAuth::enableSSLChecks — Turn on SSL checks

Description

public bool OAuth::enableSSLChecks ( void )

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

VersionDescription
0.99.8The sslChecks member was added

See Also

  • OAuth::disableSSLChecks() - Turn off SSL checks

← OAuth::enableRedirects

OAuth::fetch →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/oauth.enablesslchecks.php