_Auth---OpenID.php.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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 OpenID.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.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. </div>
  21. <div class="info-box-body">
  22. <!-- ========== Info from phpDoc block ========= -->
  23. <p class="short-description">This is the PHP OpenID library by JanRain, Inc.</p>
  24. <p class="description"><p>This module contains core utility functionality used by the library. See Consumer.php and Server.php for the consumer and server implementations.</p><p>PHP versions 4 and 5</p><p>LICENSE: See the COPYING file included in this distribution.</p></p>
  25. <ul class="tags">
  26. <li><span class="field">author:</span> JanRain, Inc. &lt;<a href="mailto:openid@janrain.com">openid@janrain.com</a>&gt;</li>
  27. <li><span class="field">copyright:</span> 2005-2008 Janrain, Inc.</li>
  28. <li><span class="field">license:</span> <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache</a></li>
  29. </ul>
  30. </div>
  31. </div>
  32. <a name="sec-includes"></a>
  33. <div class="info-box">
  34. <div class="info-box-title">Includes</div>
  35. <div class="nav-bar">
  36. <a href="#sec-description">Description</a> |
  37. <span class="disabled">Includes</span>
  38. | <a href="#sec-constants">Constants</a>
  39. </div>
  40. <div class="info-box-body">
  41. <a name="_Auth/Yadis/PlainHTTPFetcher_php"><!-- --></a>
  42. <div class="evenrow">
  43. <div>
  44. <span class="include-title">
  45. <span class="include-type">require_once</span>
  46. (<span class="include-name">"Auth/Yadis/PlainHTTPFetcher.php"</span>)
  47. (line <span class="line-number">28</span>)
  48. </span>
  49. </div>
  50. <!-- ========== Info from phpDoc block ========= -->
  51. <p class="short-description">Require the fetcher code.</p>
  52. </div>
  53. <a name="_Auth/OpenID/URINorm_php"><!-- --></a>
  54. <div class="oddrow">
  55. <div>
  56. <span class="include-title">
  57. <span class="include-type">require_once</span>
  58. (<span class="include-name">"Auth/OpenID/URINorm.php"</span>)
  59. (line <span class="line-number">31</span>)
  60. </span>
  61. </div>
  62. <!-- ========== Info from phpDoc block ========= -->
  63. </div>
  64. <a name="_Auth/Yadis/ParanoidHTTPFetcher_php"><!-- --></a>
  65. <div class="evenrow">
  66. <div>
  67. <span class="include-title">
  68. <span class="include-type">require_once</span>
  69. (<span class="include-name">"Auth/Yadis/ParanoidHTTPFetcher.php"</span>)
  70. (line <span class="line-number">29</span>)
  71. </span>
  72. </div>
  73. <!-- ========== Info from phpDoc block ========= -->
  74. </div>
  75. <a name="_Auth/OpenID/BigMath_php"><!-- --></a>
  76. <div class="oddrow">
  77. <div>
  78. <span class="include-title">
  79. <span class="include-type">require_once</span>
  80. (<span class="include-name">"Auth/OpenID/BigMath.php"</span>)
  81. (line <span class="line-number">30</span>)
  82. </span>
  83. </div>
  84. <!-- ========== Info from phpDoc block ========= -->
  85. </div>
  86. </div>
  87. </div>
  88. <a name="sec-constants"></a>
  89. <div class="info-box">
  90. <div class="info-box-title">Constants</div>
  91. <div class="nav-bar">
  92. <a href="#sec-description">Description</a> |
  93. <a href="#sec-includes">Includes</a>
  94. | <span class="disabled">Constants</span>
  95. </div>
  96. <div class="info-box-body">
  97. <a name="defineAuth_OpenID_digits"><!-- --></a>
  98. <div class="evenrow">
  99. <div>
  100. <span class="const-title">
  101. <span class="const-name">Auth_OpenID_digits</span> = &quot;0123456789&quot;
  102. (line <span class="line-number">99</span>)
  103. </span>
  104. </div>
  105. <!-- ========== Info from phpDoc block ========= -->
  106. </div>
  107. <a name="defineAuth_OpenID_DO_ABOUT"><!-- --></a>
  108. <div class="oddrow">
  109. <div>
  110. <span class="const-title">
  111. <span class="const-name">Auth_OpenID_DO_ABOUT</span> = 'do_about'
  112. (line <span class="line-number">91</span>)
  113. </span>
  114. </div>
  115. <!-- ========== Info from phpDoc block ========= -->
  116. <p class="short-description">Status code returned when there were no OpenID arguments passed. This code indicates that the caller should return a 200 OK response and display an HTML page that says that this is an OpenID server endpoint.</p>
  117. <ul class="tags">
  118. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  119. </ul>
  120. </div>
  121. <a name="defineAuth_OpenID_DO_AUTH"><!-- --></a>
  122. <div class="evenrow">
  123. <div>
  124. <span class="const-title">
  125. <span class="const-name">Auth_OpenID_DO_AUTH</span> = 'do_auth'
  126. (line <span class="line-number">81</span>)
  127. </span>
  128. </div>
  129. <!-- ========== Info from phpDoc block ========= -->
  130. <p class="short-description">Status code returned when the caller needs to authenticate the</p>
  131. <p class="description"><p>user. The associated value is a <a href="../OpenID/Auth_OpenID_ServerRequest.html">Auth_OpenID_ServerRequest</a> object that can be used to complete the authentication. If the user has taken some authentication action, use the retry() method of the <a href="../OpenID/Auth_OpenID_ServerRequest.html">Auth_OpenID_ServerRequest</a> object to complete the request.</p></p>
  132. <ul class="tags">
  133. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  134. </ul>
  135. </div>
  136. <a name="defineAuth_OpenID_letters"><!-- --></a>
  137. <div class="oddrow">
  138. <div>
  139. <span class="const-title">
  140. <span class="const-name">Auth_OpenID_letters</span> = &quot;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;
  141. (line <span class="line-number">96</span>)
  142. </span>
  143. </div>
  144. <!-- ========== Info from phpDoc block ========= -->
  145. <p class="short-description">Defines for regexes and format checking.</p>
  146. </div>
  147. <a name="defineAuth_OpenID_LOCAL_ERROR"><!-- --></a>
  148. <div class="evenrow">
  149. <div>
  150. <span class="const-title">
  151. <span class="const-name">Auth_OpenID_LOCAL_ERROR</span> = 'local_error'
  152. (line <span class="line-number">41</span>)
  153. </span>
  154. </div>
  155. <!-- ========== Info from phpDoc block ========= -->
  156. <p class="short-description">Status code returned by the server when the only option is to show an error page, since we do not have enough information to redirect back to the consumer. The associated value is an error message that should be displayed on an HTML error page.</p>
  157. <ul class="tags">
  158. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  159. </ul>
  160. </div>
  161. <a name="defineAuth_OpenID_punct"><!-- --></a>
  162. <div class="oddrow">
  163. <div>
  164. <span class="const-title">
  165. <span class="const-name">Auth_OpenID_punct</span> = &quot;!!\&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\\]^_`{|}~&quot;
  166. (line <span class="line-number">102</span>)
  167. </span>
  168. </div>
  169. <!-- ========== Info from phpDoc block ========= -->
  170. </div>
  171. <a name="defineAuth_OpenID_REDIRECT"><!-- --></a>
  172. <div class="evenrow">
  173. <div>
  174. <span class="const-title">
  175. <span class="const-name">Auth_OpenID_REDIRECT</span> = 'redirect'
  176. (line <span class="line-number">70</span>)
  177. </span>
  178. </div>
  179. <!-- ========== Info from phpDoc block ========= -->
  180. <p class="short-description">Status code returned when there is a redirect back to the consumer. The value is the URL to redirect back to. The caller should return a 302 Found redirect with a Location: header containing the URL.</p>
  181. <ul class="tags">
  182. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  183. </ul>
  184. </div>
  185. <a name="defineAuth_OpenID_REMOTE_ERROR"><!-- --></a>
  186. <div class="oddrow">
  187. <div>
  188. <span class="const-title">
  189. <span class="const-name">Auth_OpenID_REMOTE_ERROR</span> = 'remote_error'
  190. (line <span class="line-number">50</span>)
  191. </span>
  192. </div>
  193. <!-- ========== Info from phpDoc block ========= -->
  194. <p class="short-description">Status code returned when there is an error to return in key-value form to the consumer. The caller should return a 400 Bad Request response with content-type text/plain and the value as the body.</p>
  195. <ul class="tags">
  196. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  197. </ul>
  198. </div>
  199. <a name="defineAuth_OpenID_REMOTE_OK"><!-- --></a>
  200. <div class="evenrow">
  201. <div>
  202. <span class="const-title">
  203. <span class="const-name">Auth_OpenID_REMOTE_OK</span> = 'remote_ok'
  204. (line <span class="line-number">60</span>)
  205. </span>
  206. </div>
  207. <!-- ========== Info from phpDoc block ========= -->
  208. <p class="short-description">Status code returned when there is a key-value form OK response to the consumer. The value associated with this code is the response. The caller should return a 200 OK response with content-type text/plain and the value as the body.</p>
  209. <ul class="tags">
  210. <li><span class="field">see:</span> <a href="../OpenID/Auth_OpenID_Server.html">Auth_OpenID_Server</a></li>
  211. </ul>
  212. </div>
  213. <a name="defineAuth_OpenID_VERSION"><!-- --></a>
  214. <div class="oddrow">
  215. <div>
  216. <span class="const-title">
  217. <span class="const-name">Auth_OpenID_VERSION</span> = '2.1.2'
  218. (line <span class="line-number">23</span>)
  219. </span>
  220. </div>
  221. <!-- ========== Info from phpDoc block ========= -->
  222. <p class="short-description">The library version string</p>
  223. </div>
  224. </div>
  225. </div>
  226. <p class="notes" id="credit">
  227. 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>
  228. </p>
  229. </div></body>
  230. </html>