skip to navigation
skip to content

Not Logged In

pyramid_cas 0.2


Latest Version: 0.3


pyramid_cas allows your application to authenticate against a Jasig CAS server. It takes borrowed concepts from different packages like django.cas, anz.client, and collective.cas.


pip install pyramid_cas



Include pyramid_cas under pyramid.includes directive in your .ini file like this:

pyramid.includes =
[... other packages ...]

Set the cas server that will be used for authentication:

pyramid_cas.cas_server = your-cas-server


pyramid_cas.callback.get_user directive allows you to use a callback function to store a different User object after CAS authentication. By default pyramid_cas will store (using the pyramid remember method) only the user id returned by CAS.


pyramid_cas.callback.get_user =

Use the following actions for login and logout in the application that is including pyramid_cas:



  • Implement CAS 1.0 protocol
  • Add login and logout by injection and makes it configurable using tweens
  • Add tests
  • Add demos
  • Prevent adding pyramid_cas without settings
  • Add came_from parameter
File Type Py Version Uploaded on Size
pyramid_cas-0.2.tar.gz (md5) Source 2014-07-17 5KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 48 downloads in the last week
  • 163 downloads in the last month