Auth_OpenID_PAPE_Response.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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_PAPE_Response</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_PAPE_Response</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-var-summary">Vars</a> (<a href="#sec-vars">details</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">A Provider Authentication Policy response, sent from a provider to</p>
  24. <p class="description"><p>a relying party</p></p>
  25. <p class="notes">
  26. Located in <a class="field" href="_Auth---OpenID---PAPE.php.html">/Auth/OpenID/PAPE.php</a> (line <span class="field">159</span>)
  27. </p>
  28. <pre><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a>
  29. |
  30. --Auth_OpenID_PAPE_Response</pre>
  31. </div>
  32. </div>
  33. <a name="sec-var-summary"></a>
  34. <div class="info-box">
  35. <div class="info-box-title">Variable Summary</span></div>
  36. <div class="nav-bar">
  37. <a href="#sec-description">Description</a> |
  38. <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
  39. |
  40. <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  41. </div>
  42. <div class="info-box-body">
  43. <div class="var-summary">
  44. <div class="var-title">
  45. <span class="var-type">mixed</span>
  46. <a href="#$ns_alias" title="details" class="var-name">$ns_alias</a>
  47. </div>
  48. <div class="var-title">
  49. <span class="var-type">mixed</span>
  50. <a href="#$ns_uri" title="details" class="var-name">$ns_uri</a>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <a name="sec-method-summary"></a>
  56. <div class="info-box">
  57. <div class="info-box-title">Method Summary</span></div>
  58. <div class="nav-bar">
  59. <a href="#sec-description">Description</a> |
  60. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  61. |
  62. <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
  63. </div>
  64. <div class="info-box-body">
  65. <div class="method-summary">
  66. <div class="method-definition">
  67. <span class="method-result">Auth_OpenID_PAPE_Response</span>
  68. <a href="#Auth_OpenID_PAPE_Response" title="details" class="method-name">Auth_OpenID_PAPE_Response</a>
  69. ([<span class="var-type"></span>&nbsp;<span class="var-name">$auth_policies</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$auth_time</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nist_auth_level</span> = <span class="var-default">null</span>])
  70. </div>
  71. <div class="method-definition">
  72. <span class="method-result">void</span>
  73. <a href="#addPolicyURI" title="details" class="method-name">addPolicyURI</a>
  74. (<span class="var-type">policy_uri:</span>&nbsp;<span class="var-name">$policy_uri</span>)
  75. </div>
  76. <div class="method-definition">
  77. <span class="method-result">void</span>
  78. <a href="#fromSuccessResponse" title="details" class="method-name">fromSuccessResponse</a>
  79. (<span class="var-type">success_response</span>&nbsp;<span class="var-name">$success_response</span>)
  80. </div>
  81. <div class="method-definition">
  82. <span class="method-result">void</span>
  83. <a href="#getExtensionArgs" title="details" class="method-name">getExtensionArgs</a>
  84. ()
  85. </div>
  86. <div class="method-definition">
  87. <span class="method-result">null</span>
  88. <a href="#parseExtensionArgs" title="details" class="method-name">parseExtensionArgs</a>
  89. (<span class="var-type">args:</span>&nbsp;<span class="var-name">$args</span>, [<span class="var-type">strict:</span>&nbsp;<span class="var-name">$strict</span> = <span class="var-default">false</span>])
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. <a name="sec-vars"></a>
  95. <div class="info-box">
  96. <div class="info-box-title">Variables</div>
  97. <div class="nav-bar">
  98. <a href="#sec-description">Description</a> |
  99. <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
  100. |
  101. <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  102. </div>
  103. <div class="info-box-body">
  104. <a name="var$ns_alias" id="$ns_alias"><!-- --></A>
  105. <div class="evenrow">
  106. <div class="var-header">
  107. <span class="var-title">
  108. <span class="var-type">mixed</span>
  109. <span class="var-name">$ns_alias</span>
  110. = <span class="var-default"> 'pape'</span> (line <span class="line-number">161</span>)
  111. </span>
  112. </div>
  113. <!-- ========== Info from phpDoc block ========= -->
  114. <hr class="separator" />
  115. <div class="notes">Redefinition of:</div>
  116. <dl>
  117. <dt><a href="../OpenID/Auth_OpenID_Extension.html#var$ns_alias">Auth_OpenID_Extension::$ns_alias</a></dt>
  118. </dl>
  119. </div>
  120. <a name="var$ns_uri" id="$ns_uri"><!-- --></A>
  121. <div class="oddrow">
  122. <div class="var-header">
  123. <span class="var-title">
  124. <span class="var-type">mixed</span>
  125. <span class="var-name">$ns_uri</span>
  126. = <span class="var-default"> Auth_OpenID_PAPE_NS_URI</span> (line <span class="line-number">162</span>)
  127. </span>
  128. </div>
  129. <!-- ========== Info from phpDoc block ========= -->
  130. <hr class="separator" />
  131. <div class="notes">Redefinition of:</div>
  132. <dl>
  133. <dt><a href="../OpenID/Auth_OpenID_Extension.html#var$ns_uri">Auth_OpenID_Extension::$ns_uri</a></dt>
  134. <dd>ns_uri: The namespace to which to add the arguments for this</dd>
  135. </dl>
  136. </div>
  137. </div>
  138. </div>
  139. <a name="sec-methods"></a>
  140. <div class="info-box">
  141. <div class="info-box-title">Methods</div>
  142. <div class="nav-bar">
  143. <a href="#sec-description">Description</a> |
  144. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  145. <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
  146. </div>
  147. <div class="info-box-body">
  148. <A NAME='method_detail'></A>
  149. <a name="methodAuth_OpenID_PAPE_Response" id="Auth_OpenID_PAPE_Response"><!-- --></a>
  150. <div class="evenrow">
  151. <div class="method-header">
  152. <span class="method-title">Constructor Auth_OpenID_PAPE_Response</span> (line <span class="line-number">164</span>)
  153. </div>
  154. <!-- ========== Info from phpDoc block ========= -->
  155. <div class="method-signature">
  156. <span class="method-result">Auth_OpenID_PAPE_Response</span>
  157. <span class="method-name">
  158. Auth_OpenID_PAPE_Response
  159. </span>
  160. ([<span class="var-type"></span>&nbsp;<span class="var-name">$auth_policies</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$auth_time</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nist_auth_level</span> = <span class="var-default">null</span>])
  161. </div>
  162. <ul class="parameters">
  163. <li>
  164. <span class="var-type"></span>
  165. <span class="var-name">$auth_policies</span> </li>
  166. <li>
  167. <span class="var-type"></span>
  168. <span class="var-name">$auth_time</span> </li>
  169. <li>
  170. <span class="var-type"></span>
  171. <span class="var-name">$nist_auth_level</span> </li>
  172. </ul>
  173. </div>
  174. <a name="methodaddPolicyURI" id="addPolicyURI"><!-- --></a>
  175. <div class="oddrow">
  176. <div class="method-header">
  177. <span class="method-title">addPolicyURI</span> (line <span class="line-number">187</span>)
  178. </div>
  179. <!-- ========== Info from phpDoc block ========= -->
  180. <p class="short-description">Add a authentication policy to this response</p>
  181. <p class="description"><p>This method is intended to be used by the provider to add a policy that the provider conformed to when authenticating the user.</p></p>
  182. <div class="method-signature">
  183. <span class="method-result">void</span>
  184. <span class="method-name">
  185. addPolicyURI
  186. </span>
  187. (<span class="var-type">policy_uri:</span>&nbsp;<span class="var-name">$policy_uri</span>)
  188. </div>
  189. <ul class="parameters">
  190. <li>
  191. <span class="var-type">policy_uri:</span>
  192. <span class="var-name">$policy_uri</span><span class="var-description">: The identifier for the preferred type of authentication.</span> </li>
  193. </ul>
  194. </div>
  195. <a name="methodfromSuccessResponse" id="fromSuccessResponse"><!-- --></a>
  196. <div class="evenrow">
  197. <div class="method-header">
  198. <span class="method-title">fromSuccessResponse</span> (line <span class="line-number">204</span>)
  199. </div>
  200. <!-- ========== Info from phpDoc block ========= -->
  201. <p class="short-description">Create an Auth_OpenID_PAPE_Response object from a successful OpenID library response.</p>
  202. <div class="method-signature">
  203. <span class="method-result">void</span>
  204. <span class="method-name">
  205. fromSuccessResponse
  206. </span>
  207. (<span class="var-type">success_response</span>&nbsp;<span class="var-name">$success_response</span>)
  208. </div>
  209. <ul class="parameters">
  210. <li>
  211. <span class="var-type">success_response</span>
  212. <span class="var-name">$success_response</span><span class="var-description">: A SuccessResponse from Auth_OpenID_Consumer::complete()</span> </li>
  213. </ul>
  214. </div>
  215. <a name="methodgetExtensionArgs" id="getExtensionArgs"><!-- --></a>
  216. <div class="oddrow">
  217. <div class="method-header">
  218. <span class="method-title">getExtensionArgs</span> (line <span class="line-number">273</span>)
  219. </div>
  220. <!-- ========== Info from phpDoc block ========= -->
  221. <div class="method-signature">
  222. <span class="method-result">void</span>
  223. <span class="method-name">
  224. getExtensionArgs
  225. </span>
  226. ()
  227. </div>
  228. <hr class="separator" />
  229. <div class="notes">Redefinition of:</div>
  230. <dl>
  231. <dt><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></dt>
  232. <dd>Get the string arguments that should be added to an OpenID message for this extension.</dd>
  233. </dl>
  234. </div>
  235. <a name="methodparseExtensionArgs" id="parseExtensionArgs"><!-- --></a>
  236. <div class="evenrow">
  237. <div class="method-header">
  238. <span class="method-title">parseExtensionArgs</span> (line <span class="line-number">237</span>)
  239. </div>
  240. <!-- ========== Info from phpDoc block ========= -->
  241. <p class="short-description">Parse the provider authentication policy arguments into the internal state of this object</p>
  242. <ul class="tags">
  243. <li><span class="field">return:</span> The data is parsed into the internal fields of this object.</li>
  244. </ul>
  245. <div class="method-signature">
  246. <span class="method-result">null</span>
  247. <span class="method-name">
  248. parseExtensionArgs
  249. </span>
  250. (<span class="var-type">args:</span>&nbsp;<span class="var-name">$args</span>, [<span class="var-type">strict:</span>&nbsp;<span class="var-name">$strict</span> = <span class="var-default">false</span>])
  251. </div>
  252. <ul class="parameters">
  253. <li>
  254. <span class="var-type">args:</span>
  255. <span class="var-name">$args</span><span class="var-description">: unqualified provider authentication policy arguments</span> </li>
  256. <li>
  257. <span class="var-type">strict:</span>
  258. <span class="var-name">$strict</span><span class="var-description">: Whether to return false when bad data is encountered</span> </li>
  259. </ul>
  260. </div>
  261. <h4>Inherited Methods</h4>
  262. <a name='inherited_methods'><!-- --></a>
  263. <!-- =========== Summary =========== -->
  264. <p>Inherited From <span class="classname"><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a></span></p>
  265. <blockquote>
  266. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></span><br>
  267. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodtoMessage">Auth_OpenID_Extension::toMessage()</a></span><br>
  268. </blockquote>
  269. </div>
  270. </div>
  271. <p class="notes" id="credit">
  272. 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>
  273. </p>
  274. </div></body>
  275. </html>