This package allows for Single-Sign On HTTP Negotiate authentication using the niquests library on Windows.
Project description
niquests-negotiate-sspi
This is a Python package that uses the Windows Security Support Provider Interface (SSPI) to authenticate with Kerberos/NTLM, using Negotiate and NTLM authentication schemes.
This module is a fork of requests-negotiate-sspi, which was originally written by brandond.
It's built on top of the niquests library, which is a Python HTTP library for Python that functions as a drop-in replacement for the requests library, with various features and improvements over the requests library.
This module supports Extended Protection for Authentication (aka Channel Binding Hash), which makes it usable for services that require it, including Active Directory Federation Services.
Usage
import niquests
from niquests_negotiate_sspi import HttpNegotiateAuth
r = niquests.get('https://your.url.here', auth=HttpNegotiateAuth())
Options
-
username: Username. Default: None -
password: Password. Default: None -
domain: NT Domain name. Default: None -
service: Kerberos Service type for remote Service Principal Name. Default: 'HTTP' -
host: Host name for Service Principal Name. Default: Extracted from request URI -
delegate: Indicates that the user's credentials are to be delegated to the server. Default: False
If username and password are not specified, the user's default credentials are used. This allows for single-sign-on to domain resources if the user is currently logged on with a domain account.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file niquests_negotiate_sspi-0.6.1.tar.gz.
File metadata
- Download URL: niquests_negotiate_sspi-0.6.1.tar.gz
- Upload date:
- Size: 53.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eed35444f85d2b27616c25127b6e7ae0ecfadabe2754994d2feb5b0df218a36
|
|
| MD5 |
774b708d84f1db3b023c27e2dc028f6d
|
|
| BLAKE2b-256 |
4e8ef6618f06bcb3c6967b0dd7ffa9a67b8b3a266d528d15d6e3239c5cd1cd44
|
File details
Details for the file niquests_negotiate_sspi-0.6.1-py3-none-any.whl.
File metadata
- Download URL: niquests_negotiate_sspi-0.6.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e6f929ef74534f5e7d1c9551df36ac99e006bc772a33fc399f4e98404b1309c
|
|
| MD5 |
7aa8b0bc414b81687b7857c6c47716fa
|
|
| BLAKE2b-256 |
939245f2694dd5dceda9b907c6b00fca20ddeb49f9fdad14e3dd9315d4070c15
|