-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple authentication methods per transport in `--default-aut…
…h-method` (#7224) Currently, `--default-auth-method` only allows one default method per transport. This isn't very flexible and so allow multiple authentication methods to be tried in sequence (according to the specified order in `--default-auth-method`). Technically, this infrastructure also allows trying multiple configured `cfg::Auth` methods in order of `.priority`, but that is a bigger (and breaking) change so I left it out.
- Loading branch information
Showing
6 changed files
with
314 additions
and
125 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
Oops, something went wrong.