This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.
Project description
An implementation of HTTP Negotiate authentication for Requests. 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 requests
from requests_negotiate_sspi import HttpNegotiateAuth
r = requests.get('https://iis.contoso.com', auth=HttpNegotiateAuth())
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
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 Distributions
Built Distribution
Hashes for requests-negotiate-sspi-0.2.2.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | effa439f274bf027559d22e5cbe7d416ad683ce4739aa177a13c65a140424d1a |
|
MD5 | b3e79247564888cb161dbd1976b6248a |
|
BLAKE2b-256 | 3a44743b2da7ad5c474110829a80f5d4d5a1e87a18a06d1e4d5a80b2573988ee |