httpie-cli/httpie
Jakub Roztocil a49774d3ab Extend auth plugin API
This extends the `AuthPlugin` API by the following attributes:

* `auth_require`: set to `False` to make `--auth, -a` optional
* `auth_parse`: set to `False` to disable `username:password` parsing
  (access the raw value passed to `-a` via `self.raw_auth`).
* `prompt_password`: set to`False` to disable password prompt when
   no password provided (only relevant when `auth_parse == True`)

 These changes should be 100% backwards-compatible.

 What needs more testing is auth support in sessions.

Close #433
Close #431
Close #378
Ping teracyhq/httpie-jwt-auth#3
2016-11-23 22:02:12 +01:00
..
output Cleanup 2016-07-01 19:00:06 +02:00
plugins Extend auth plugin API 2016-11-23 22:02:12 +01:00
__init__.py Exit with status 130 on CTRL-C 2016-10-26 11:53:01 +02:00
__main__.py Exit with status 130 on CTRL-C 2016-10-26 11:53:01 +02:00
cli.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
client.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
compat.py PEP8. clean-up 2016-07-04 20:30:55 +02:00
config.py Update config and session file help URLs 2016-09-12 10:57:30 +02:00
context.py Handle curses-free Pythons 2016-09-06 11:50:56 +01:00
core.py Exit with status 130 on CTRL-C 2016-10-26 11:53:01 +02:00
downloads.py PEP8. clean-up 2016-07-04 20:30:55 +02:00
input.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
models.py Cleanup 2016-03-02 02:53:23 +08:00
sessions.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
utils.py Improved --debug output 2016-03-05 01:42:48 +08:00