This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.
Project description
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Description: requests-negotiate-sspi
=======================
.. image:: https://badge.fury.io/py/requests-negotiate-sspi.svg
:target: https://badge.fury.io/py/requests-negotiate-sspi
.. image:: https://travis-ci.org/brandond/requests-negotiate-sspi.svg?branch=master
:target: https://travis-ci.org/brandond/requests-negotiate-sspi
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
-----
.. code-block:: python
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.
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Provides: requests_negotiate_sspi
Description-Content-Type: text/x-rst
Provides-Extra: dev
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Description: requests-negotiate-sspi
=======================
.. image:: https://badge.fury.io/py/requests-negotiate-sspi.svg
:target: https://badge.fury.io/py/requests-negotiate-sspi
.. image:: https://travis-ci.org/brandond/requests-negotiate-sspi.svg?branch=master
:target: https://travis-ci.org/brandond/requests-negotiate-sspi
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
-----
.. code-block:: python
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.
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Provides: requests_negotiate_sspi
Description-Content-Type: text/x-rst
Provides-Extra: dev
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
Close
Hashes for requests-negotiate-sspi-0.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723088a3c9bd537da4a520f9464cc34d2e0bf6159fc1f41ce862258530590803 |
|
MD5 | 0e58f86acf07e3d82729ab633027d37f |
|
BLAKE2b-256 | e8f6f0e54dcce3ebed42a1bbb85a11e06ef16114a7257917b8c665bcc5cba9c8 |