<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Turn off SSL checks</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oauth.disableredirects.html">OAuth::disableRedirects</a></div> <div class="next" style="text-align: right; float: right;"><a href="oauth.enabledebug.html">OAuth::enableDebug</a></div> <div class="up"><a href="class.oauth.html">OAuth</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="oauth.disablesslchecks" class="refentry"> <div class="refnamediv"> <h1 class="refname">OAuth::disableSSLChecks</h1> <p class="verinfo">(PECL OAuth >= 0.99.5)</p><p class="refpurpose"><span class="refname">OAuth::disableSSLChecks</span> — <span class="dc-title">Turn off SSL checks</span></p> </div> <div class="refsect1 description" id="refsect1-oauth.disablesslchecks-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>OAuth::disableSSLChecks</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Turns off the usual SSL peer certificate and host checks, this is not for production environments. Alternatively, the <em><code class="parameter">sslChecks</code></em> member can be set to <strong><code>FALSE</code></strong> to turn SSL checks off. </p> </div> <div class="refsect1 parameters" id="refsect1-oauth.disablesslchecks-parameters"> <h3 class="title">Parameters</h3> <p class="para">This function has no parameters.</p> </div> <div class="refsect1 returnvalues" id="refsect1-oauth.disablesslchecks-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> <strong><code>TRUE</code></strong> </p> </div> <div class="refsect1 changelog" id="refsect1-oauth.disablesslchecks-changelog"> <h3 class="title">Changelog</h3> <p class="para"> <table class="doctable informaltable"> <thead> <tr> <th>Version</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>0.99.8</td> <td> The <em><code class="parameter">sslChecks</code></em> member was added </td> </tr> </tbody> </table> </p> </div> <div class="refsect1 seealso" id="refsect1-oauth.disablesslchecks-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="oauth.enablesslchecks.html" class="methodname" rel="rdfs-seeAlso">OAuth::enableSSLChecks()</a> - Turn on SSL checks</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oauth.disableredirects.html">OAuth::disableRedirects</a></div> <div class="next" style="text-align: right; float: right;"><a href="oauth.enabledebug.html">OAuth::enableDebug</a></div> <div class="up"><a href="class.oauth.html">OAuth</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>