Auth_OpenID_PAPE_Request.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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_Request</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_Request</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 request, sent from a relying party to a provider</p>
  24. <p class="description"><p>preferred_auth_policies: The authentication policies that the relying party prefers</p><p>max_auth_age: The maximum time, in seconds, that the relying party wants to allow to have elapsed before the user must re-authenticate</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">35</span>)
  27. </p>
  28. <pre><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a>
  29. |
  30. --Auth_OpenID_PAPE_Request</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_Request</span>
  68. <a href="#Auth_OpenID_PAPE_Request" title="details" class="method-name">Auth_OpenID_PAPE_Request</a>
  69. ([<span class="var-type"></span>&nbsp;<span class="var-name">$preferred_auth_policies</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$max_auth_age</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"></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="#fromOpenIDRequest" title="details" class="method-name">fromOpenIDRequest</a>
  79. (<span class="var-type"></span>&nbsp;<span class="var-name">$request</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">void</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>)
  90. </div>
  91. <div class="method-definition">
  92. <span class="method-result">array</span>
  93. <a href="#preferredTypes" title="details" class="method-name">preferredTypes</a>
  94. (<span class="var-type">supported_types:</span>&nbsp;<span class="var-name">$supported_types</span>)
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. <a name="sec-vars"></a>
  100. <div class="info-box">
  101. <div class="info-box-title">Variables</div>
  102. <div class="nav-bar">
  103. <a href="#sec-description">Description</a> |
  104. <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
  105. |
  106. <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  107. </div>
  108. <div class="info-box-body">
  109. <a name="var$ns_alias" id="$ns_alias"><!-- --></A>
  110. <div class="evenrow">
  111. <div class="var-header">
  112. <span class="var-title">
  113. <span class="var-type">mixed</span>
  114. <span class="var-name">$ns_alias</span>
  115. = <span class="var-default"> 'pape'</span> (line <span class="line-number">37</span>)
  116. </span>
  117. </div>
  118. <!-- ========== Info from phpDoc block ========= -->
  119. <hr class="separator" />
  120. <div class="notes">Redefinition of:</div>
  121. <dl>
  122. <dt><a href="../OpenID/Auth_OpenID_Extension.html#var$ns_alias">Auth_OpenID_Extension::$ns_alias</a></dt>
  123. </dl>
  124. </div>
  125. <a name="var$ns_uri" id="$ns_uri"><!-- --></A>
  126. <div class="oddrow">
  127. <div class="var-header">
  128. <span class="var-title">
  129. <span class="var-type">mixed</span>
  130. <span class="var-name">$ns_uri</span>
  131. = <span class="var-default"> Auth_OpenID_PAPE_NS_URI</span> (line <span class="line-number">38</span>)
  132. </span>
  133. </div>
  134. <!-- ========== Info from phpDoc block ========= -->
  135. <hr class="separator" />
  136. <div class="notes">Redefinition of:</div>
  137. <dl>
  138. <dt><a href="../OpenID/Auth_OpenID_Extension.html#var$ns_uri">Auth_OpenID_Extension::$ns_uri</a></dt>
  139. <dd>ns_uri: The namespace to which to add the arguments for this</dd>
  140. </dl>
  141. </div>
  142. </div>
  143. </div>
  144. <a name="sec-methods"></a>
  145. <div class="info-box">
  146. <div class="info-box-title">Methods</div>
  147. <div class="nav-bar">
  148. <a href="#sec-description">Description</a> |
  149. <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  150. <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
  151. </div>
  152. <div class="info-box-body">
  153. <A NAME='method_detail'></A>
  154. <a name="methodAuth_OpenID_PAPE_Request" id="Auth_OpenID_PAPE_Request"><!-- --></a>
  155. <div class="evenrow">
  156. <div class="method-header">
  157. <span class="method-title">Constructor Auth_OpenID_PAPE_Request</span> (line <span class="line-number">40</span>)
  158. </div>
  159. <!-- ========== Info from phpDoc block ========= -->
  160. <div class="method-signature">
  161. <span class="method-result">Auth_OpenID_PAPE_Request</span>
  162. <span class="method-name">
  163. Auth_OpenID_PAPE_Request
  164. </span>
  165. ([<span class="var-type"></span>&nbsp;<span class="var-name">$preferred_auth_policies</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$max_auth_age</span> = <span class="var-default">null</span>])
  166. </div>
  167. <ul class="parameters">
  168. <li>
  169. <span class="var-type"></span>
  170. <span class="var-name">$preferred_auth_policies</span> </li>
  171. <li>
  172. <span class="var-type"></span>
  173. <span class="var-name">$max_auth_age</span> </li>
  174. </ul>
  175. </div>
  176. <a name="methodaddPolicyURI" id="addPolicyURI"><!-- --></a>
  177. <div class="oddrow">
  178. <div class="method-header">
  179. <span class="method-title">addPolicyURI</span> (line <span class="line-number">60</span>)
  180. </div>
  181. <!-- ========== Info from phpDoc block ========= -->
  182. <p class="short-description">Add an acceptable authentication policy URI to this request</p>
  183. <p class="description"><p>This method is intended to be used by the relying party to add acceptable authentication types to the request.</p><p>policy_uri: The identifier for the preferred type of authentication.</p></p>
  184. <div class="method-signature">
  185. <span class="method-result">void</span>
  186. <span class="method-name">
  187. addPolicyURI
  188. </span>
  189. (<span class="var-type"></span>&nbsp;<span class="var-name">$policy_uri</span>)
  190. </div>
  191. <ul class="parameters">
  192. <li>
  193. <span class="var-type"></span>
  194. <span class="var-name">$policy_uri</span> </li>
  195. </ul>
  196. </div>
  197. <a name="methodfromOpenIDRequest" id="fromOpenIDRequest"><!-- --></a>
  198. <div class="evenrow">
  199. <div class="method-header">
  200. <span class="method-title">fromOpenIDRequest</span> (line <span class="line-number">85</span>)
  201. </div>
  202. <!-- ========== Info from phpDoc block ========= -->
  203. <p class="short-description">Instantiate a Request object from the arguments in a checkid_*</p>
  204. <p class="description"><p>OpenID message</p></p>
  205. <div class="method-signature">
  206. <span class="method-result">void</span>
  207. <span class="method-name">
  208. fromOpenIDRequest
  209. </span>
  210. (<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>)
  211. </div>
  212. <ul class="parameters">
  213. <li>
  214. <span class="var-type"></span>
  215. <span class="var-name">$request</span> </li>
  216. </ul>
  217. </div>
  218. <a name="methodgetExtensionArgs" id="getExtensionArgs"><!-- --></a>
  219. <div class="oddrow">
  220. <div class="method-header">
  221. <span class="method-title">getExtensionArgs</span> (line <span class="line-number">67</span>)
  222. </div>
  223. <!-- ========== Info from phpDoc block ========= -->
  224. <div class="method-signature">
  225. <span class="method-result">void</span>
  226. <span class="method-name">
  227. getExtensionArgs
  228. </span>
  229. ()
  230. </div>
  231. <hr class="separator" />
  232. <div class="notes">Redefinition of:</div>
  233. <dl>
  234. <dt><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></dt>
  235. <dd>Get the string arguments that should be added to an OpenID message for this extension.</dd>
  236. </dl>
  237. </div>
  238. <a name="methodparseExtensionArgs" id="parseExtensionArgs"><!-- --></a>
  239. <div class="evenrow">
  240. <div class="method-header">
  241. <span class="method-title">parseExtensionArgs</span> (line <span class="line-number">104</span>)
  242. </div>
  243. <!-- ========== Info from phpDoc block ========= -->
  244. <p class="short-description">Set the state of this request to be that expressed in these PAPE arguments</p>
  245. <div class="method-signature">
  246. <span class="method-result">void</span>
  247. <span class="method-name">
  248. parseExtensionArgs
  249. </span>
  250. (<span class="var-type">args:</span>&nbsp;<span class="var-name">$args</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">: The PAPE arguments without a namespace</span> </li>
  256. </ul>
  257. </div>
  258. <a name="methodpreferredTypes" id="preferredTypes"><!-- --></a>
  259. <div class="oddrow">
  260. <div class="method-header">
  261. <span class="method-title">preferredTypes</span> (line <span class="line-number">142</span>)
  262. </div>
  263. <!-- ========== Info from phpDoc block ========= -->
  264. <p class="short-description">Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.</p>
  265. <ul class="tags">
  266. <li><span class="field">return:</span> The sub-sequence of the supported types that are preferred by the relying party. This list will be ordered in the order that the types appear in the supported_types sequence, and may be empty if the provider does not prefer any of the supported authentication types.</li>
  267. </ul>
  268. <div class="method-signature">
  269. <span class="method-result">array</span>
  270. <span class="method-name">
  271. preferredTypes
  272. </span>
  273. (<span class="var-type">supported_types:</span>&nbsp;<span class="var-name">$supported_types</span>)
  274. </div>
  275. <ul class="parameters">
  276. <li>
  277. <span class="var-type">supported_types:</span>
  278. <span class="var-name">$supported_types</span><span class="var-description">: A sequence of authentication policy type URIs that are supported by a provider</span> </li>
  279. </ul>
  280. </div>
  281. <h4>Inherited Methods</h4>
  282. <a name='inherited_methods'><!-- --></a>
  283. <!-- =========== Summary =========== -->
  284. <p>Inherited From <span class="classname"><a href="../OpenID/Auth_OpenID_Extension.html">Auth_OpenID_Extension</a></span></p>
  285. <blockquote>
  286. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodgetExtensionArgs">Auth_OpenID_Extension::getExtensionArgs()</a></span><br>
  287. <span class="method-name"><a href="../OpenID/Auth_OpenID_Extension.html#methodtoMessage">Auth_OpenID_Extension::toMessage()</a></span><br>
  288. </blockquote>
  289. </div>
  290. </div>
  291. <p class="notes" id="credit">
  292. 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>
  293. </p>
  294. </div></body>
  295. </html>