-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add third-party auth plugins support
The HTTPie ecosystem has myriads of third-party authentication plugins. Even though they ain't as widespread as core ones, I see a huge advantage if we can support those plugins too. This patch adds support of third-party authentication plugins by retrieving a proper authentication plugin via HTTPie's plugin manager, instead of reimplementing authentication code for core plugins in this project source tree. There's another benefits of using authentication plugins here. According to some HTTPie in-source comments, the HTTP basic auth from requests library has some unicode issues, and those HTTPie mantains its own basic auth implementation. By using authentication plugins directly, we can get advantage of that implementation too.
- Loading branch information
1 parent
35a5ace
commit 23df99d
Showing
4 changed files
with
127 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters