Skip to main content

An auth policy for the Pyramid Web Framework with sane defaults.

Project description

An auth policy for the Pyramid Web Framework with sane defaults that works with Michael Merickel’s absolutely fantastic pyramid_services. Provides an easy to use authorization policy that incorporates web security best practices.

Installation

Install from PyPI using pip or easy_install inside a virtual environment.

$ $VENV/bin/pip install pyramid_authsanity

Or install directly from source.

$ git clone https://github.com/usingnamespace/pyramid_authsanity.git
$ cd pyramid_authsanity
$ $VENV/bin/pip install -e .

Setup

Activate pyramid_authsanity by including it into your pyramid application.

config.include('pyramid_authsanity')

1.1.0 (2017-11-29)

  • Add new Authorization header based authentication source

    This provides out of the box support for “Bearer” like tokens.

1.0.0 (2017-05-19)

  • Remove Python 2.6 support
  • Fix a bug whereby the policy was storing a dict instead of a list in the source, which of course broke things subtly when actually using the policy.
  • Send empty cookie when forgetting the authentication for the cookie source

Project details


Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.0

History Node

0.1.0a4

History Node

0.1.0a3

History Node

0.1.0a2

History Node

0.1.0a1

History Node

0.1.0a0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyramid_authsanity-1.1.0-py2.py3-none-any.whl (9.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 30, 2017
pyramid_authsanity-1.1.0.tar.gz (19.3 kB) Copy SHA256 hash SHA256 Source None Oct 30, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page