Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Flask extension for CAS

Project Description
Flask-CAS
=========

Flask-CAS is a Flask extension which makes it easy to
authenticate with a CAS.

CAS
===

The Central Authentication Service (CAS) is a single sign-on
protocol for the web. Its purpose is to permit a user to access
multiple applications while providing their credentials (such as
userid and password) only once. It also allows web applications
to authenticate users without gaining access to a user's security
credentials, such as a password. The name CAS also refers to a
software package that implements this protocol.

(Very short) Setup Tutorial
===========================

First create a Flask instance:

.. code:: python

from flask import Flask

app = Flask(__name__)

Apply CAS on your Flask instance:

.. code:: python

from flask.ext.cas import CAS

CAS(app)

Do needed configuration:

.. code:: python

app.config['CAS_SERVER'] = 'https://sso.pdx.edu'

app.config['CAS_AFTER_LOGIN'] = 'route_root'

Using
=====

After you setup you will get two new routes `/login/`
and `/logout/`.

Reference documentation
=======================

See https://github.com/cameronbwhite/Flask-CAS
Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting