This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Negotiate authentication for the requests HTTP client library

Project Description

# requests-negotiate

An implementation of HTTP Negotiate authentication ([RFC 4559](http://tools.ietf.org/html/rfc4559)) for [requests](http://docs.python-requests.org/en/latest/).

Negotiate authentication is commonly used to provide Kerberos authentication through GSSAPI.

## Usage

Here’s a trivial example:

import requests import requests_negotiate

auth = requests_negotiate.HTTPNegotiateAuth() response = requests.get(‘https://example.org/’, auth=auth)

You’ll need a valid Kerberos ticket - acquired using e.g. kinit - for this to work.

### Options

You can instantiate an HTTPNegotiateAuth with the following optional parameters:

  • service - A Kerberos principal is generally composed of a service name (e.g. ‘HTTP’) and a hostname, separated by a slash (‘/’). This lets you override the default service of 'HTTP'.
  • service_name - Overrides the full service name (e.g. 'HTTP/example.org')
  • negotiate_client_name - Explicitly specify which client principal to authenticate as. Particularly useful when you’re using a credential cache collection.
Release History

Release History

This version
History Node

1.5

History Node

1.4.1

History Node

1.4

History Node

1.3.5

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
requests-negotiate-1.5.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source May 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting