MAuth plugin for HTTPie
Project description
HTTPie mauth
This is a plugin for the HTTPie command line request library that allows it to send mauth-authenticated requests.
To use this, you will need:
- A MAuth App ID
- A MAuth private key whose corresponding public key is registered with the MAuth server that the target service is using
- A MAuth config file in a supported location, one of:
~/.mauth_config.yml
./config/mauth.yml
./mauth.yml
The format of that file should be as follows:
development:
app_uuid: a36c9238-c9c8-4de9-a385-07dfe6dc1fc4
private_key_file: /Users/mgup/.mauth_key
You can then issue signed requests as follows:
http --auth-type mauth https://example.com
You can pass the -v
option to see the outgoing header. Validating the
signature of the response is not currently supported.
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
httpie_mauth-0.0.3.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for httpie_mauth-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb6cbec1894022825262ce863d6f5fd7ff59da8ea210fabf599331fb50228d5 |
|
MD5 | 6de494653c3b0665de6dfe5c37a7c243 |
|
BLAKE2b-256 | a879ace5555e119e187f6eafb7031059251a9fffccf34194680d3806123b9ddc |