EscherAuth plugin for HTTPie.
Project description
This HTTPie auth plugin implements Escher authentication for endpoints using Escher authentication with default settings.
Installation
Be sure that HTTPie is installed, and install this plugin:
$ pip install httpie-escher-auth
After installing, you will see the option escher-auth under --auth-type if you run $ http --help.
Example
$ http --auth-type=escher-auth --auth=escher_key:escher_secret https://api.example.com/users
The default Escher credential scope is “escher_request”. You can define the credential scope like this:
$ http --auth-type=escher-auth --auth=credential_scope/escher_key:escher_secret https://api.example.com/users
Check out HTTPie sessions if you would like to save authentication information between your requests.
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
Built Distribution
Close
Hashes for httpie_escher_auth-0.1.0-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04ab1bb8ff79175846cf5079ae99fa8ba61d96f3770ae186061be4480267ca4 |
|
MD5 | 51ca4946429935894a1736ecbb4c8926 |
|
BLAKE2b-256 | 17fdd6b112dd382e7ce4458dda2d454da01c877ec4e6dc656ca2840416932547 |