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.4.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for httpie_mauth-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d249ddaf45b3b70aff1d611c89f599bb38a645584b79ca7aa2a1df26f0e12ed8 |
|
MD5 | eb365707da58c0244b55474b6ff66f82 |
|
BLAKE2b-256 | 6d6e16681a9d2b06ba6ca806c99c7cb55e79326f7794f1cc722be3c9f18d80fb |