Flask extension for CAS
Project description
flask-cas-ng
=========
flask-cas-ng is a maintenance fork of the original Flask-CAS
flask-cas-ng 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_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
=========
flask-cas-ng is a maintenance fork of the original Flask-CAS
flask-cas-ng 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_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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask-cas-ng-1.1.0.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file flask-cas-ng-1.1.0.tar.gz
.
File metadata
- Download URL: flask-cas-ng-1.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5214062b613f73cab9a6448c954151fb5691bafa2ffce04e1990409e36710e |
|
MD5 | 5eaa40ce5e897574b82bf867501e4bd0 |
|
BLAKE2b-256 | 2b52178daf88235179477cc537c0ace56c28a14048df5c90fddeb00f4e2be3db |
File details
Details for the file flask_cas_ng-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: flask_cas_ng-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517b67ab77714e60a8c1454c3793c26fe9e5993021aa506003239b5cab871e9b |
|
MD5 | d6923be472df96be6ecbd7bc962bb8f5 |
|
BLAKE2b-256 | fbdcb6751039f56f50e6ac858614db12733f6c30e1e1f89aba6fe5f9f7ad5155 |