httpx2-negotiate-sspi
An implementation of HTTP Negotiate authentication for httpx2. This module provides single-sign-on using Kerberos or NTLM using the Windows SSPI interface.
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 httpx2
from httpx2_negotiate_sspi import HttpNegotiateAuth
with httpx2.Client(auth=HttpNegotiateAuth()) as client:
response = client.get('https://iis.contoso.com')
Async clients use the same auth object:
import httpx2
from httpx2_negotiate_sspi import HttpNegotiateAuth
async with httpx2.AsyncClient(auth=HttpNegotiateAuth()) as client:
response = await client.get('https://iis.contoso.com')
Options
-
username: Username.
Default: None -
password: Password.
Default: None -
domain: NT Domain name.
Default: '.' for local account. -
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.
Metadata
Release files for httpx2-negotiate-sspi 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| httpx2_negotiate_sspi-2.0.1-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| httpx2_negotiate_sspi-2.0.1-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| httpx2_negotiate_sspi-2.0.1-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| httpx2_negotiate_sspi-2.0.1-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| httpx2_negotiate_sspi-2.0.1-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
Total release size: 54.3 kB
Release files / httpx2_negotiate_sspi-2.0.1-cp314-cp314-win_amd64.whl
| Download URL | httpx2_negotiate_sspi-2.0.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 10.8 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bbb0a9d160c5d76df2fd08ed50a8bebaaffc26aef487dc3869322050dcca98ae
|
|
BLAKE2b-256 checksum How to use checksums |
6c736b266324687c14c404e56e663c14194931ba1c85b20771b99fbbb1e7587d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / httpx2_negotiate_sspi-2.0.1-cp313-cp313-win_amd64.whl
| Download URL | httpx2_negotiate_sspi-2.0.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 10.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d93b028cb3bab574c2470f1904be339e291ceabca1cd00aba04cf6c83a075c4f
|
|
BLAKE2b-256 checksum How to use checksums |
db8debcd8d298bb53df23d364b0f2e62d95e80c352b3cc45a02207da84fecb9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / httpx2_negotiate_sspi-2.0.1-cp312-cp312-win_amd64.whl
| Download URL | httpx2_negotiate_sspi-2.0.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 10.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
564e9624a31de9b7b224df8d818a4d2e16cab9577e12900c2465fcd640dabb4a
|
|
BLAKE2b-256 checksum How to use checksums |
aa990505c3e7e7904e1e8f635399e9e062ab85b38069ba68d9553f3d09fb6275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / httpx2_negotiate_sspi-2.0.1-cp311-cp311-win_amd64.whl
| Download URL | httpx2_negotiate_sspi-2.0.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 10.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e55071cd2493a96c0a3ea830e1645c3eea1c9aa5de79fe6b0a54f31b2893891f
|
|
BLAKE2b-256 checksum How to use checksums |
c51852c475fea59365866af0678e2cebd714a1cd72e668da26adb8a9f10ac2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / httpx2_negotiate_sspi-2.0.1-cp310-cp310-win_amd64.whl
| Download URL | httpx2_negotiate_sspi-2.0.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 10.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
55b9a4c218293108fa75cdcb12d55135c087ec5b9f84c7d448352a5fe15688ce
|
|
BLAKE2b-256 checksum How to use checksums |
d042e6be5b28fce8ee7a10c0ce3ee51210af0f13530a75dbb6e42128369f2ff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency log