-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple tokens locally (#2549)
* Add multi token support * Set git credentials when setting the active profile * Add git credential flag as argument for auth switch method * Fix logout helper function * Refactor auth utils + fixes * Remove unnecessary file creation * Add tests and some fixes * Make get profiles helper function public * Add multiselect menu for auth switch command * Move auth fixture * Refactor logout helper function * Update package reference and quick start documentation * Update cli documentation * Expose new auth methods in huggingface_hub module * Multiple small fixes * post-review fixes * Fix table of contents * Use server provided token names instead of profiles * Add stored tokens path in the environment info * Multiple fixes post-review
- Loading branch information
1 parent
833bdc5
commit 6fcc7b3
Showing
15 changed files
with
559 additions
and
73 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
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.