Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 9994

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Set the nonce for subsequent requests</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oauth.setcapath.html">OAuth::setCAPath</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauth.setrequestengine.html">OAuth::setRequestEngine</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.setnonce" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OAuth::setNonce</h1>
  <p class="verinfo">(PECL OAuth &gt;= 0.99.1)</p><p class="refpurpose"><span class="refname">OAuth::setNonce</span> &mdash; <span class="dc-title">Set the nonce for subsequent requests</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-oauth.setnonce-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>OAuth::setNonce</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$nonce</code></span>
   )</div>

  <p class="para rdfs-comment">
   Sets the nonce for all subsequent requests.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-oauth.setnonce-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">nonce</code></em></span>
     <dd>

      <p class="para">
       The value for oauth_nonce.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-oauth.setnonce-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success, or <strong><code>FALSE</code></strong> if the
   <em><code class="parameter">nonce</code></em> is considered invalid.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-oauth.setnonce-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>1.0.0</td>
       <td>
        Previously returned <strong><code>NULL</code></strong> on failure, instead of <strong><code>FALSE</code></strong>.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-oauth.setnonce-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="oauth.settoken.html" class="methodname" rel="rdfs-seeAlso">OAuth::setToken()</a> - Sets the token and secret</span></li>
    <li class="member"> <span class="methodname"><a href="oauth.setauthtype.html" class="methodname" rel="rdfs-seeAlso">OAuth::setAuthType()</a> - Set authorization type</span></li>
    <li class="member"> <span class="methodname"><a href="oauth.setversion.html" class="methodname" rel="rdfs-seeAlso">OAuth::setVersion()</a> - Set the OAuth version</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.setcapath.html">OAuth::setCAPath</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauth.setrequestengine.html">OAuth::setRequestEngine</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>