mirror of
https://github.com/httpie/cli.git
synced 2025-01-09 15:18:25 +01:00
Fix --auth-type help
This commit is contained in:
parent
cc9083f541
commit
fb3a26586a
11
README.rst
11
README.rst
@ -691,14 +691,15 @@ Additional authentication mechanism can be installed as plugins.
|
|||||||
They can be found on the `Python Package Index <https://pypi.python.org/pypi?%3Aaction=search&term=httpie&submit=search>`_.
|
They can be found on the `Python Package Index <https://pypi.python.org/pypi?%3Aaction=search&term=httpie&submit=search>`_.
|
||||||
Here's a few picks:
|
Here's a few picks:
|
||||||
|
|
||||||
* `httpie-oauth <https://github.com/jkbrzt/httpie-oauth>`_: OAuth
|
|
||||||
* `httpie-hmac-auth <https://github.com/guardian/httpie-hmac-auth>`_: HMAC
|
|
||||||
* `httpie-ntlm <https://github.com/jkbrzt/httpie-ntlm>`_: NTLM (NT LAN Manager)
|
|
||||||
* `httpie-negotiate <https://github.com/ndzou/httpie-negotiate>`_: SPNEGO (GSS Negotiate)
|
|
||||||
* `requests-hawk <https://github.com/mozilla-services/requests-hawk>`_: Hawk
|
|
||||||
* `httpie-api-auth <https://github.com/pd/httpie-api-auth>`_: ApiAuth
|
* `httpie-api-auth <https://github.com/pd/httpie-api-auth>`_: ApiAuth
|
||||||
|
* `httpie-aws-auth <https://github.com/jkbrzt/httpie-aws-auth>`_: ApiAuth
|
||||||
* `httpie-edgegrid <https://github.com/akamai-open/httpie-edgegrid>`_: EdgeGrid
|
* `httpie-edgegrid <https://github.com/akamai-open/httpie-edgegrid>`_: EdgeGrid
|
||||||
|
* `httpie-hmac-auth <https://github.com/guardian/httpie-hmac-auth>`_: HMAC
|
||||||
* `httpie-jwt-auth <https://github.com/teracyhq/httpie-jwt-auth>`_: JWTAuth (JSON Web Tokens)
|
* `httpie-jwt-auth <https://github.com/teracyhq/httpie-jwt-auth>`_: JWTAuth (JSON Web Tokens)
|
||||||
|
* `httpie-negotiate <https://github.com/ndzou/httpie-negotiate>`_: SPNEGO (GSS Negotiate)
|
||||||
|
* `httpie-ntlm <https://github.com/jkbrzt/httpie-ntlm>`_: NTLM (NT LAN Manager)
|
||||||
|
* `httpie-oauth <https://github.com/jkbrzt/httpie-oauth>`_: OAuth
|
||||||
|
* `requests-hawk <https://github.com/mozilla-services/requests-hawk>`_: Hawk
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -435,7 +435,7 @@ class _AuthTypeLazyChoices(object):
|
|||||||
return item in plugin_manager.get_auth_plugin_mapping()
|
return item in plugin_manager.get_auth_plugin_mapping()
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
return iter(plugin_manager.get_auth_plugins())
|
return iter(sorted(plugin_manager.get_auth_plugin_mapping().keys()))
|
||||||
|
|
||||||
|
|
||||||
_auth_plugins = plugin_manager.get_auth_plugins()
|
_auth_plugins = plugin_manager.get_auth_plugins()
|
||||||
|
Loading…
Reference in New Issue
Block a user