1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-30 08:46:48 +02:00
httpie-cli/httpie/plugins
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
..
__init__.py Removed XML formatter 2016-03-18 09:16:39 +08:00
base.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
builtin.py Extend auth plugin API 2016-11-23 22:02:12 +01:00
manager.py Extend auth plugin API 2016-11-23 22:02:12 +01:00