_Auth---OpenID---Nonce.php.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <!-- template designed by Marco Von Ballmoos -->
  6. <title>Docs for page Nonce.php</title>
  7. <link rel="stylesheet" href="../media/stylesheet.css" />
  8. <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
  9. </head>
  10. <body>
  11. <div class="page-body">
  12. <h2 class="file-name">/Auth/OpenID/Nonce.php</h2>
  13. <a name="sec-description"></a>
  14. <div class="info-box">
  15. <div class="info-box-title">Description</div>
  16. <div class="nav-bar">
  17. <span class="disabled">Description</span> |
  18. <a href="#sec-includes">Includes</a>
  19. | <a href="#sec-constants">Constants</a>
  20. | <a href="#sec-functions">Functions</a>
  21. </div>
  22. <div class="info-box-body">
  23. <!-- ========== Info from phpDoc block ========= -->
  24. <p class="short-description">Nonce-related functionality.</p>
  25. </div>
  26. </div>
  27. <a name="sec-includes"></a>
  28. <div class="info-box">
  29. <div class="info-box-title">Includes</div>
  30. <div class="nav-bar">
  31. <a href="#sec-description">Description</a> |
  32. <span class="disabled">Includes</span>
  33. | <a href="#sec-constants">Constants</a>
  34. | <a href="#sec-functions">Functions</a>
  35. </div>
  36. <div class="info-box-body">
  37. <a name="_Auth/OpenID/CryptUtil_php"><!-- --></a>
  38. <div class="oddrow">
  39. <div>
  40. <span class="include-title">
  41. <span class="include-type">require_once</span>
  42. (<span class="include-name">'Auth/OpenID/CryptUtil.php'</span>)
  43. (line <span class="line-number">12</span>)
  44. </span>
  45. </div>
  46. <!-- ========== Info from phpDoc block ========= -->
  47. <p class="short-description">Need CryptUtil to generate random strings.</p>
  48. </div>
  49. </div>
  50. </div>
  51. <a name="sec-constants"></a>
  52. <div class="info-box">
  53. <div class="info-box-title">Constants</div>
  54. <div class="nav-bar">
  55. <a href="#sec-description">Description</a> |
  56. <a href="#sec-includes">Includes</a>
  57. | <span class="disabled">Constants</span>
  58. | <a href="#sec-functions">Functions</a>
  59. </div>
  60. <div class="info-box-body">
  61. <a name="defineAuth_OpenID_Nonce_CHRS"><!-- --></a>
  62. <div class="evenrow">
  63. <div>
  64. <span class="const-title">
  65. <span class="const-name">Auth_OpenID_Nonce_CHRS</span> = &quot;abcdefghijklmnopqrstuvwxyz&quot;.&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&quot;
  66. (line <span class="line-number">17</span>)
  67. </span>
  68. </div>
  69. <!-- ========== Info from phpDoc block ========= -->
  70. <p class="short-description">This is the characters that the nonces are made from.</p>
  71. </div>
  72. <a name="defineAuth_OpenID_Nonce_REGEX"><!-- --></a>
  73. <div class="oddrow">
  74. <div>
  75. <span class="const-title">
  76. <span class="const-name">Auth_OpenID_Nonce_REGEX</span> = '/(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z(.*)/'
  77. (line <span class="line-number">26</span>)
  78. </span>
  79. </div>
  80. <!-- ========== Info from phpDoc block ========= -->
  81. </div>
  82. <a name="defineAuth_OpenID_Nonce_TIME_FMT"><!-- --></a>
  83. <div class="evenrow">
  84. <div>
  85. <span class="const-title">
  86. <span class="const-name">Auth_OpenID_Nonce_TIME_FMT</span> = '%Y-%m-%dT%H:%M:%SZ'
  87. (line <span class="line-number">29</span>)
  88. </span>
  89. </div>
  90. <!-- ========== Info from phpDoc block ========= -->
  91. </div>
  92. </div>
  93. </div>
  94. <a name="sec-functions"></a>
  95. <div class="info-box">
  96. <div class="info-box-title">Functions</div>
  97. <div class="nav-bar">
  98. <a href="#sec-description">Description</a> |
  99. <a href="#sec-includes">Includes</a>
  100. | <a href="#sec-constants">Constants</a>
  101. | <span class="disabled">Functions</span>
  102. </div>
  103. <div class="info-box-body">
  104. <a name="functionAuth_OpenID_checkTimestamp" id="functionAuth_OpenID_checkTimestamp"><!-- --></a>
  105. <div class="oddrow">
  106. <div>
  107. <span class="method-title">Auth_OpenID_checkTimestamp</span> (line <span class="line-number">59</span>)
  108. </div>
  109. <!-- ========== Info from phpDoc block ========= -->
  110. <div class="method-signature">
  111. <span class="method-result">void</span>
  112. <span class="method-name">
  113. Auth_OpenID_checkTimestamp
  114. </span>
  115. (<span class="var-type"></span>&nbsp;<span class="var-name">$nonce_string</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$allowed_skew</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$now</span> = <span class="var-default">null</span>])
  116. </div>
  117. <ul class="parameters">
  118. <li>
  119. <span class="var-type"></span>
  120. <span class="var-name">$nonce_string</span> </li>
  121. <li>
  122. <span class="var-type"></span>
  123. <span class="var-name">$allowed_skew</span> </li>
  124. <li>
  125. <span class="var-type"></span>
  126. <span class="var-name">$now</span> </li>
  127. </ul>
  128. </div>
  129. <a name="functionAuth_OpenID_mkNonce" id="functionAuth_OpenID_mkNonce"><!-- --></a>
  130. <div class="evenrow">
  131. <div>
  132. <span class="method-title">Auth_OpenID_mkNonce</span> (line <span class="line-number">93</span>)
  133. </div>
  134. <!-- ========== Info from phpDoc block ========= -->
  135. <div class="method-signature">
  136. <span class="method-result">void</span>
  137. <span class="method-name">
  138. Auth_OpenID_mkNonce
  139. </span>
  140. ([<span class="var-type"></span>&nbsp;<span class="var-name">$when</span> = <span class="var-default">null</span>])
  141. </div>
  142. <ul class="parameters">
  143. <li>
  144. <span class="var-type"></span>
  145. <span class="var-name">$when</span> </li>
  146. </ul>
  147. </div>
  148. <a name="functionAuth_OpenID_splitNonce" id="functionAuth_OpenID_splitNonce"><!-- --></a>
  149. <div class="oddrow">
  150. <div>
  151. <span class="method-title">Auth_OpenID_splitNonce</span> (line <span class="line-number">32</span>)
  152. </div>
  153. <!-- ========== Info from phpDoc block ========= -->
  154. <div class="method-signature">
  155. <span class="method-result">void</span>
  156. <span class="method-name">
  157. Auth_OpenID_splitNonce
  158. </span>
  159. (<span class="var-type"></span>&nbsp;<span class="var-name">$nonce_string</span>)
  160. </div>
  161. <ul class="parameters">
  162. <li>
  163. <span class="var-type"></span>
  164. <span class="var-name">$nonce_string</span> </li>
  165. </ul>
  166. </div>
  167. </div>
  168. </div>
  169. <p class="notes" id="credit">
  170. Documentation generated on Tue, 21 Apr 2009 11:31:32 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
  171. </p>
  172. </div></body>
  173. </html>