Auth_OpenID_ServerError.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  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 Class Auth_OpenID_ServerError</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="class-name">Class Auth_OpenID_ServerError</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-descendents">Descendents</a>
  19. | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  20. </div>
  21. <div class="info-box-body">
  22. <!-- ========== Info from phpDoc block ========= -->
  23. <p class="short-description">An error class which gets instantiated and returned whenever an OpenID protocol error occurs. Be prepared to use this in place of an ordinary server response.</p>
  24. <p class="notes">
  25. Located in <a class="field" href="_Auth---OpenID---Server.php.html">/Auth/OpenID/Server.php</a> (line <span class="field">147</span>)
  26. </p>
  27. <pre></pre>
  28. </div>
  29. </div>
  30. <a name="sec-descendents"></a>
  31. <div class="info-box">
  32. <div class="info-box-title">Direct descendents</div>
  33. <div class="nav-bar">
  34. <a href="#sec-description">Description</a> |
  35. <span class="disabled">Descendents</span>
  36. | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  37. </div>
  38. <div class="info-box-body">
  39. <table cellpadding="2" cellspacing="0" class="class-table">
  40. <tr>
  41. <th class="class-table-header">Class</th>
  42. <th class="class-table-header">Description</th>
  43. </tr>
  44. <tr>
  45. <td style="padding-right: 2em"><a href="../OpenID/Auth_OpenID_NoReturnToError.html">Auth_OpenID_NoReturnToError</a></td>
  46. <td>
  47. Error returned by the server code when a return_to is absent from a request.
  48. </td>
  49. </tr>
  50. <tr>
  51. <td style="padding-right: 2em"><a href="../OpenID/Auth_OpenID_MalformedReturnURL.html">Auth_OpenID_MalformedReturnURL</a></td>
  52. <td>
  53. An error indicating that the return_to URL is malformed.
  54. </td>
  55. </tr>
  56. <tr>
  57. <td style="padding-right: 2em"><a href="../OpenID/Auth_OpenID_MalformedTrustRoot.html">Auth_OpenID_MalformedTrustRoot</a></td>
  58. <td>
  59. This error is returned when the trust_root value is malformed.
  60. </td>
  61. </tr>
  62. <tr>
  63. <td style="padding-right: 2em"><a href="../OpenID/Auth_OpenID_UntrustedReturnURL.html">Auth_OpenID_UntrustedReturnURL</a></td>
  64. <td>
  65. An error that indicates that the given return_to is not under the given trust_root.
  66. </td>
  67. </tr>
  68. </table>
  69. </div>
  70. </div>
  71. <a name="sec-method-summary"></a>
  72. <div class="info-box">
  73. <div class="info-box-title">Method Summary</span></div>
  74. <div class="nav-bar">
  75. <a href="#sec-description">Description</a> |
  76. <a href="#sec-descendents">Descendents</a> |
  77. <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
  78. </div>
  79. <div class="info-box-body">
  80. <div class="method-summary">
  81. <div class="method-definition">
  82. <span class="method-result">void</span>
  83. <a href="#encodeToKVForm" title="details" class="method-name">encodeToKVForm</a>
  84. ()
  85. </div>
  86. <div class="method-definition">
  87. <span class="method-result">void</span>
  88. <a href="#encodeToURL" title="details" class="method-name">encodeToURL</a>
  89. ()
  90. </div>
  91. <div class="method-definition">
  92. <span class="method-result">void</span>
  93. <a href="#getReturnTo" title="details" class="method-name">getReturnTo</a>
  94. ()
  95. </div>
  96. <div class="method-definition">
  97. <span class="method-result">void</span>
  98. <a href="#hasReturnTo" title="details" class="method-name">hasReturnTo</a>
  99. ()
  100. </div>
  101. <div class="method-definition">
  102. <span class="method-result">void</span>
  103. <a href="#toFormMarkup" title="details" class="method-name">toFormMarkup</a>
  104. ([<span class="var-type"></span>&nbsp;<span class="var-name">$form_tag_attrs</span> = <span class="var-default">null</span>])
  105. </div>
  106. <div class="method-definition">
  107. <span class="method-result">void</span>
  108. <a href="#toHTML" title="details" class="method-name">toHTML</a>
  109. ([<span class="var-type"></span>&nbsp;<span class="var-name">$form_tag_attrs</span> = <span class="var-default">null</span>])
  110. </div>
  111. <div class="method-definition">
  112. <span class="method-result">void</span>
  113. <a href="#toMessage" title="details" class="method-name">toMessage</a>
  114. ()
  115. </div>
  116. <div class="method-definition">
  117. <span class="method-result">void</span>
  118. <a href="#toString" title="details" class="method-name">toString</a>
  119. ()
  120. </div>
  121. <div class="method-definition">
  122. <span class="method-result">void</span>
  123. <a href="#whichEncoding" title="details" class="method-name">whichEncoding</a>
  124. ()
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <a name="sec-methods"></a>
  130. <div class="info-box">
  131. <div class="info-box-title">Methods</div>
  132. <div class="nav-bar">
  133. <a href="#sec-description">Description</a> |
  134. <a href="#sec-descendents">Descendents</a> |
  135. <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
  136. </div>
  137. <div class="info-box-body">
  138. <A NAME='method_detail'></A>
  139. <a name="methodencodeToKVForm" id="encodeToKVForm"><!-- --></a>
  140. <div class="oddrow">
  141. <div class="method-header">
  142. <span class="method-title">encodeToKVForm</span> (line <span class="line-number">201</span>)
  143. </div>
  144. <!-- ========== Info from phpDoc block ========= -->
  145. <p class="short-description">Encodes the response to key-value form. This is a machine-readable format used to respond to messages which came directly from the consumer and not through the user-agent. See the OpenID specification.</p>
  146. <div class="method-signature">
  147. <span class="method-result">void</span>
  148. <span class="method-name">
  149. encodeToKVForm
  150. </span>
  151. ()
  152. </div>
  153. </div>
  154. <a name="methodencodeToURL" id="encodeToURL"><!-- --></a>
  155. <div class="evenrow">
  156. <div class="method-header">
  157. <span class="method-title">encodeToURL</span> (line <span class="line-number">185</span>)
  158. </div>
  159. <!-- ========== Info from phpDoc block ========= -->
  160. <p class="short-description">Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.</p>
  161. <div class="method-signature">
  162. <span class="method-result">void</span>
  163. <span class="method-name">
  164. encodeToURL
  165. </span>
  166. ()
  167. </div>
  168. </div>
  169. <a name="methodgetReturnTo" id="getReturnTo"><!-- --></a>
  170. <div class="oddrow">
  171. <div class="method-header">
  172. <span class="method-title">getReturnTo</span> (line <span class="line-number">160</span>)
  173. </div>
  174. <!-- ========== Info from phpDoc block ========= -->
  175. <div class="method-signature">
  176. <span class="method-result">void</span>
  177. <span class="method-name">
  178. getReturnTo
  179. </span>
  180. ()
  181. </div>
  182. </div>
  183. <a name="methodhasReturnTo" id="hasReturnTo"><!-- --></a>
  184. <div class="evenrow">
  185. <div class="method-header">
  186. <span class="method-title">hasReturnTo</span> (line <span class="line-number">175</span>)
  187. </div>
  188. <!-- ========== Info from phpDoc block ========= -->
  189. <p class="short-description">Returns the return_to URL for the request which caused this error.</p>
  190. <div class="method-signature">
  191. <span class="method-result">void</span>
  192. <span class="method-name">
  193. hasReturnTo
  194. </span>
  195. ()
  196. </div>
  197. </div>
  198. <a name="methodtoFormMarkup" id="toFormMarkup"><!-- --></a>
  199. <div class="oddrow">
  200. <div class="method-header">
  201. <span class="method-title">toFormMarkup</span> (line <span class="line-number">208</span>)
  202. </div>
  203. <!-- ========== Info from phpDoc block ========= -->
  204. <div class="method-signature">
  205. <span class="method-result">void</span>
  206. <span class="method-name">
  207. toFormMarkup
  208. </span>
  209. ([<span class="var-type"></span>&nbsp;<span class="var-name">$form_tag_attrs</span> = <span class="var-default">null</span>])
  210. </div>
  211. <ul class="parameters">
  212. <li>
  213. <span class="var-type"></span>
  214. <span class="var-name">$form_tag_attrs</span> </li>
  215. </ul>
  216. </div>
  217. <a name="methodtoHTML" id="toHTML"><!-- --></a>
  218. <div class="evenrow">
  219. <div class="method-header">
  220. <span class="method-title">toHTML</span> (line <span class="line-number">214</span>)
  221. </div>
  222. <!-- ========== Info from phpDoc block ========= -->
  223. <div class="method-signature">
  224. <span class="method-result">void</span>
  225. <span class="method-name">
  226. toHTML
  227. </span>
  228. ([<span class="var-type"></span>&nbsp;<span class="var-name">$form_tag_attrs</span> = <span class="var-default">null</span>])
  229. </div>
  230. <ul class="parameters">
  231. <li>
  232. <span class="var-type"></span>
  233. <span class="var-name">$form_tag_attrs</span> </li>
  234. </ul>
  235. </div>
  236. <a name="methodtoMessage" id="toMessage"><!-- --></a>
  237. <div class="oddrow">
  238. <div class="method-header">
  239. <span class="method-title">toMessage</span> (line <span class="line-number">220</span>)
  240. </div>
  241. <!-- ========== Info from phpDoc block ========= -->
  242. <div class="method-signature">
  243. <span class="method-result">void</span>
  244. <span class="method-name">
  245. toMessage
  246. </span>
  247. ()
  248. </div>
  249. </div>
  250. <a name="methodtoString" id="toString"><!-- --></a>
  251. <div class="evenrow">
  252. <div class="method-header">
  253. <span class="method-title">toString</span> (line <span class="line-number">278</span>)
  254. </div>
  255. <!-- ========== Info from phpDoc block ========= -->
  256. <p class="short-description">Returns this error message.</p>
  257. <div class="method-signature">
  258. <span class="method-result">void</span>
  259. <span class="method-name">
  260. toString
  261. </span>
  262. ()
  263. </div>
  264. <hr class="separator" />
  265. <div class="notes">Redefined in descendants as:</div>
  266. <ul class="redefinitions">
  267. <li>
  268. <a href="../OpenID/Auth_OpenID_NoReturnToError.html#methodtoString">Auth_OpenID_NoReturnToError::toString()</a>
  269. </li>
  270. <li>
  271. <a href="../OpenID/Auth_OpenID_MalformedTrustRoot.html#methodtoString">Auth_OpenID_MalformedTrustRoot::toString()</a>
  272. </li>
  273. <li>
  274. <a href="../OpenID/Auth_OpenID_UntrustedReturnURL.html#methodtoString">Auth_OpenID_UntrustedReturnURL::toString()</a>
  275. </li>
  276. </ul>
  277. </div>
  278. <a name="methodwhichEncoding" id="whichEncoding"><!-- --></a>
  279. <div class="oddrow">
  280. <div class="method-header">
  281. <span class="method-title">whichEncoding</span> (line <span class="line-number">246</span>)
  282. </div>
  283. <!-- ========== Info from phpDoc block ========= -->
  284. <p class="short-description">Returns one of Auth_OpenID_ENCODE_URL, Auth_OpenID_ENCODE_KVFORM, or null, depending on the type of encoding expected for this error's payload.</p>
  285. <div class="method-signature">
  286. <span class="method-result">void</span>
  287. <span class="method-name">
  288. whichEncoding
  289. </span>
  290. ()
  291. </div>
  292. </div>
  293. </div>
  294. </div>
  295. <p class="notes" id="credit">
  296. 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>
  297. </p>
  298. </div></body>
  299. </html>