Permalink
Browse files

Import OpenID consumer library.

  • Loading branch information...
bradfitz committed Mar 14, 2010
1 parent cd7ccdd commit b265825da7ec403b6bb1c527a583d792282bf47d
Showing with 26,413 additions and 0 deletions.
  1. +24 −0 README.openid-consumer.txt
  2. +391 −0 consumer.py
  3. +141 −0 elementtree/ElementInclude.py
  4. BIN elementtree/ElementInclude.pyo
  5. +196 −0 elementtree/ElementPath.py
  6. BIN elementtree/ElementPath.pyo
  7. +1,254 −0 elementtree/ElementTree.py
  8. BIN elementtree/ElementTree.pyo
  9. +230 −0 elementtree/HTMLTreeBuilder.py
  10. BIN elementtree/HTMLTreeBuilder.pyo
  11. +103 −0 elementtree/SgmlopXMLTreeBuilder.py
  12. BIN elementtree/SgmlopXMLTreeBuilder.pyo
  13. +144 −0 elementtree/SimpleXMLTreeBuilder.py
  14. BIN elementtree/SimpleXMLTreeBuilder.pyo
  15. +279 −0 elementtree/SimpleXMLWriter.py
  16. BIN elementtree/SimpleXMLWriter.pyo
  17. +6 −0 elementtree/TidyHTMLTreeBuilder.py
  18. BIN elementtree/TidyHTMLTreeBuilder.pyo
  19. +128 −0 elementtree/TidyTools.py
  20. BIN elementtree/TidyTools.pyo
  21. +113 −0 elementtree/XMLTreeBuilder.py
  22. BIN elementtree/XMLTreeBuilder.pyo
  23. +30 −0 elementtree/__init__.py
  24. BIN elementtree/__init__.pyo
  25. +81 −0 fetcher.py
  26. +24 −0 openid-consumer/README
  27. +11 −0 openid-consumer/app.yaml
  28. +391 −0 openid-consumer/consumer.py
  29. +141 −0 openid-consumer/elementtree/ElementInclude.py
  30. BIN openid-consumer/elementtree/ElementInclude.pyo
  31. +196 −0 openid-consumer/elementtree/ElementPath.py
  32. BIN openid-consumer/elementtree/ElementPath.pyo
  33. +1,254 −0 openid-consumer/elementtree/ElementTree.py
  34. BIN openid-consumer/elementtree/ElementTree.pyo
  35. +230 −0 openid-consumer/elementtree/HTMLTreeBuilder.py
  36. BIN openid-consumer/elementtree/HTMLTreeBuilder.pyo
  37. +103 −0 openid-consumer/elementtree/SgmlopXMLTreeBuilder.py
  38. BIN openid-consumer/elementtree/SgmlopXMLTreeBuilder.pyo
  39. +144 −0 openid-consumer/elementtree/SimpleXMLTreeBuilder.py
  40. BIN openid-consumer/elementtree/SimpleXMLTreeBuilder.pyo
  41. +279 −0 openid-consumer/elementtree/SimpleXMLWriter.py
  42. BIN openid-consumer/elementtree/SimpleXMLWriter.pyo
  43. +6 −0 openid-consumer/elementtree/TidyHTMLTreeBuilder.py
  44. BIN openid-consumer/elementtree/TidyHTMLTreeBuilder.pyo
  45. +128 −0 openid-consumer/elementtree/TidyTools.py
  46. BIN openid-consumer/elementtree/TidyTools.pyo
  47. +113 −0 openid-consumer/elementtree/XMLTreeBuilder.py
  48. BIN openid-consumer/elementtree/XMLTreeBuilder.pyo
  49. +30 −0 openid-consumer/elementtree/__init__.py
  50. BIN openid-consumer/elementtree/__init__.pyo
  51. +81 −0 openid-consumer/fetcher.py
  52. +24 −0 openid-consumer/index.yaml
  53. +37 −0 openid-consumer/openid/__init__.py
  54. +555 −0 openid-consumer/openid/association.py
  55. +4 −0 openid-consumer/openid/consumer/__init__.py
  56. +1,879 −0 openid-consumer/openid/consumer/consumer.py
  57. +460 −0 openid-consumer/openid/consumer/discover.py
  58. +249 −0 openid-consumer/openid/consumer/html_parse.py
  59. +219 −0 openid-consumer/openid/cryptutil.py
  60. +42 −0 openid-consumer/openid/dh.py
  61. +35 −0 openid-consumer/openid/extension.py
  62. 0 openid-consumer/openid/extensions/__init__.py
  63. +774 −0 openid-consumer/openid/extensions/ax.py
  64. +270 −0 openid-consumer/openid/extensions/pape.py
  65. +515 −0 openid-consumer/openid/extensions/sreg.py
  66. +415 −0 openid-consumer/openid/fetchers.py
  67. +120 −0 openid-consumer/openid/kvform.py
  68. +597 −0 openid-consumer/openid/message.py
  69. +181 −0 openid-consumer/openid/oidutil.py
  70. +7 −0 openid-consumer/openid/sreg.py
  71. +6 −0 openid-consumer/openid/store/__init__.py
  72. +431 −0 openid-consumer/openid/store/filestore.py
  73. +197 −0 openid-consumer/openid/store/interface.py
  74. +125 −0 openid-consumer/openid/store/memstore.py
  75. +98 −0 openid-consumer/openid/store/nonce.py
  76. +545 −0 openid-consumer/openid/store/sqlstore.py
  77. +188 −0 openid-consumer/openid/urinorm.py
  78. +17 −0 openid-consumer/openid/yadis/__init__.py
  79. +133 −0 openid-consumer/openid/yadis/accept.py
  80. +13 −0 openid-consumer/openid/yadis/constants.py
  81. +135 −0 openid-consumer/openid/yadis/discover.py
  82. +301 −0 openid-consumer/openid/yadis/etxrd.py
  83. +200 −0 openid-consumer/openid/yadis/filters.py
  84. +194 −0 openid-consumer/openid/yadis/manager.py
  85. +197 −0 openid-consumer/openid/yadis/parsehtml.py
  86. +54 −0 openid-consumer/openid/yadis/services.py
  87. +168 −0 openid-consumer/openid/yadis/xri.py
  88. +123 −0 openid-consumer/openid/yadis/xrires.py
  89. BIN openid-consumer/static/appengine_button_noborder.gif
  90. +248 −0 openid-consumer/static/base.css
  91. BIN openid-consumer/static/button-background.gif
  92. BIN openid-consumer/static/cancel.png
  93. BIN openid-consumer/static/failure.png
  94. BIN openid-consumer/static/openid-icon.png
  95. BIN openid-consumer/static/openid-logo.png
  96. BIN openid-consumer/static/round_bottom_left.png
  97. BIN openid-consumer/static/round_bottom_right.png
  98. BIN openid-consumer/static/round_top_left.png
  99. BIN openid-consumer/static/round_top_right.png
  100. BIN openid-consumer/static/success.png
  101. +217 −0 openid-consumer/store.py
  102. +120 −0 openid-consumer/templates/base.html
  103. +37 −0 openid/__init__.py
  104. +555 −0 openid/association.py
  105. +4 −0 openid/consumer/__init__.py
  106. +1,879 −0 openid/consumer/consumer.py
  107. +460 −0 openid/consumer/discover.py
  108. +249 −0 openid/consumer/html_parse.py
  109. +219 −0 openid/cryptutil.py
  110. +42 −0 openid/dh.py
  111. +35 −0 openid/extension.py
  112. 0 openid/extensions/__init__.py
  113. +774 −0 openid/extensions/ax.py
  114. +270 −0 openid/extensions/pape.py
  115. +515 −0 openid/extensions/sreg.py
  116. +415 −0 openid/fetchers.py
  117. +120 −0 openid/kvform.py
  118. +597 −0 openid/message.py
  119. +181 −0 openid/oidutil.py
  120. +7 −0 openid/sreg.py
  121. +6 −0 openid/store/__init__.py
  122. +431 −0 openid/store/filestore.py
  123. +197 −0 openid/store/interface.py
  124. +125 −0 openid/store/memstore.py
  125. +98 −0 openid/store/nonce.py
  126. +545 −0 openid/store/sqlstore.py
  127. +188 −0 openid/urinorm.py
  128. +17 −0 openid/yadis/__init__.py
  129. +133 −0 openid/yadis/accept.py
  130. +13 −0 openid/yadis/constants.py
  131. +135 −0 openid/yadis/discover.py
  132. +301 −0 openid/yadis/etxrd.py
  133. +200 −0 openid/yadis/filters.py
  134. +194 −0 openid/yadis/manager.py
  135. +197 −0 openid/yadis/parsehtml.py
  136. +54 −0 openid/yadis/services.py
  137. +168 −0 openid/yadis/xri.py
  138. +123 −0 openid/yadis/xrires.py
  139. BIN static/appengine_button_noborder.gif
  140. +248 −0 static/base.css
  141. BIN static/button-background.gif
  142. BIN static/cancel.png
  143. BIN static/failure.png
  144. BIN static/openid-icon.png
  145. BIN static/openid-logo.png
  146. BIN static/round_bottom_left.png
  147. BIN static/round_bottom_right.png
  148. BIN static/round_top_left.png
  149. BIN static/round_top_right.png
  150. BIN static/success.png
  151. +217 −0 store.py
  152. +120 −0 templates/base.html
View
@@ -0,0 +1,24 @@
+IN PROGRESS! DOESN'T WORK YET!
+
+A sample OpenID consumer app for Google App Engine. Allows users to log into
+other OpenID providers, then stores their OpenID login.
+
+Part of http://code.google.com/p/google-app-engine-samples/.
+
+For more about OpenID, see:
+ http://openid.net/
+ http://openid.net/about.bml
+
+Uses JanRain's Python OpenID library, version 2.1.1, licensed under the
+Apache Software License 2.0:
+ http://openidenabled.com/python-openid/
+
+The JanRain library includes a reference OpenID provider that can be used to
+test this consumer. After starting the dev_appserver with this app, unpack the
+JanRain library and run these commands from its root directory:
+
+ setenv PYTHONPATH .
+ python ./examples/server.py -s localhost
+
+Then go to http://localhost:8080/ in your browser, type in
+http://localhost:8000/test as your OpenID identifier, and click Verify.
Oops, something went wrong.

0 comments on commit b265825

Please sign in to comment.