requests-ecp 0.3.2

Creator: railscoderz

Last updated:

0 purchases

requests-ecp 0.3.2 Image
requests-ecp 0.3.2 Images

Languages

Categories

Add to Cart

Description:

requestsecp 0.3.2

requests-ecp
A SAML/ECP authentication handler for python-requests.
Release status




Development status



Installation
See https://requests-ecp.readthedocs.io/en/latest/#installation for installation instructions.
Basic usage
Attach the HTTPECPAuth object to your Requests
Session and the relevant authentication will happen whenever required.
>>> from requests import Session
>>> from requests_ecp import HTTPECPAuth
>>> with Session() as sess:
... sess.auth = HTTPECPAuth("https://idp.university.ac.uk/idp/profile/SAML2/SOAP/ECP")
... sess.get("https://data.university.ac.uk/mydata.dat")

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.