Changeset 135
- Timestamp:
- 11/06/07 00:37:36
- Files:
-
- AuthKit/trunk/examples/docs/open_id.py (modified) (2 diffs)
- AuthKit/trunk/examples/docs/open_id_sreg.py (modified) (2 diffs)
- AuthKit/trunk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
AuthKit/trunk/examples/docs/open_id.py
r112 r135 1 1 from authkit.authenticate import middleware, sample_app 2 from beaker.middleware import SessionMiddleware 2 3 3 4 app = middleware( … … 11 12 cookie_signoutpath = '/signout', 12 13 ) 13 14 app = SessionMiddleware( 15 app, 16 key='authkit.open_id', 17 secret='some secret', 18 ) 14 19 if __name__ == '__main__': 15 20 from paste.httpserver import serve AuthKit/trunk/examples/docs/open_id_sreg.py
r113 r135 1 1 from authkit.authenticate import middleware, sample_app 2 from beaker.middleware import SessionMiddleware 2 3 3 4 app = middleware( … … 10 11 cookie_secret='secret encryption string', 11 12 cookie_signoutpath = '/signout', 12 openid_sreg_required = 'fullname,nickname, city,country',13 openid_sreg_required = 'fullname,nickname,dob,country', 13 14 openid_sreg_optional = 'timezone,email', 14 openid_sreg_policyurl = 'http://localhost: 5000',15 openid_sreg_policyurl = 'http://localhost:8080', 15 16 ) 16 17 app = SessionMiddleware( 18 app, 19 key='authkit.open_id', 20 secret='some secret', 21 ) 17 22 if __name__ == '__main__': 18 23 from paste.httpserver import serve AuthKit/trunk/setup.py
r132 r135 39 39 install_requires = [ 40 40 "Paste>=1.4", "nose>=0.9.2", "PasteDeploy>=1.1", 41 "PasteScript>=1.1", "python-openid>=1.1,<=1.2", 42 "python-yadis==1.0.1,<=1.1", "python-urljr==1.0.0,<=1.1", 41 "PasteScript>=1.1", "python-openid>=2.0.1", 43 42 "elementtree>=1.2,<=1.3", "Beaker>=0.7.3", "decorator>=2.1.0", 44 43 ], 45 44 extras_require = { 46 45 'pylons': ["Pylons>=0.9.5,<=1.0"], 47 'mysql': ["SQLAlchemy>=0.3.2,<=0.4", "DBUtils>=0.9.2,<=1.0"],48 46 'full': [ 49 47 "Pylons>=0.9.5,<=1.0", 50 "SQLAlchemy>=0.3.6,<=0.4", 51 "DBUtils>=0.9.2,<=1.0", 48 "SQLAlchemy>=0.4.0,<=0.4.99", 52 49 "pudge==0.1.3", 53 50 "buildutils==dev", 54 "pygments ==0.7",51 "pygments>=0.7", 55 52 "TurboKid==0.9.5" 56 53 ], … … 58 55 "pudge==0.1.3", 59 56 "buildutils==dev", 60 "pygments ==0.7",57 "pygments>=0.7", 61 58 "TurboKid==0.9.5" 62 59 ],
