Skip to main content

pyramid_httpauth

This is an authentication policy for __pyramid__ that verifies credentials using either HTTP-Digest-Auth or HTTP-Basic-Auth protocol.

With a reference to https://github.com/mozilla-services/pyramid_digestauth/

with extras:

  1. Add support for HTTP Basic Authentication

  2. Add support for Python 3

  3. Tested with Python 2.7 and Python 3.4

Usage

To use this package, in the app function, just include it.

config.include(“pyramid_httpauth”)

In you development.ini

  • httpauth.schema: default schema to challenge client (digest

    or basic), default=digest

  • httpauth.realm: realm string for auth challenge header

  • httpauth.qop: qop string for auth challenge header

    (used for Digest Auth only)

  • httpauth.nonce_manager: name of NonceManager class to use

    (used for Digest Auth only)

  • httpauth.nonce_manager_secret: The secret key used to sign on nounce, used

    for built-in SignedNonceManager (if httpauth.nonce_manager is not provided).

  • httpauth.domain: domain string for auth challenge header

  • httpauth.get_password: name of password-retrieval function

  • httpauth.groupfinder: name of group-finder callback function

1.0.5

  • Fix bug: SignedNonceManager does not work properly at multi processes if its secret key is not configured.

    1. Add config httpauth.nonce_manager_secret to configure this value.

    2. Log a critical message if this value is not configured.

1.0

  • Packaging

  • Initial version

Metadata

Release files for pyramid_httpauth 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid_httpauth 1.0.5
File Size Uploaded Provenance Actions
pyramid_httpauth-1.0.5.tar.gz 18.4 kB Without provenance Details for pyramid_httpauth-1.0.5.tar.gz

Release files / pyramid_httpauth-1.0.5.tar.gz

Download URL pyramid_httpauth-1.0.5.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f692bf3d01b16a7cc43881800ed6c0ea7c757e9061ecc7ff116444ff0a2cc90c
BLAKE2b-256 checksum
How to use checksums
3f9b3a2ae34be4fb9bc22b4e2200a0b7c1f4808c5ad223f6e574d06f9328cf2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyramid_httpauth 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page