mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
feat: test and document access-token prefix support
This commit is contained in:
parent
69c7b42d28
commit
a9f4d73d3e
5 changed files with 89 additions and 4 deletions
|
@ -172,7 +172,7 @@ struct GitArchiveInputScheme : InputScheme
|
|||
return input;
|
||||
}
|
||||
|
||||
std::optional<std::string> getAccessToken(const fetchers::Settings & settings, const std::string & host, const std::string & url) const
|
||||
std::optional<std::string> getAccessToken(const fetchers::Settings & settings, const std::string & host, const std::string & url) const override
|
||||
{
|
||||
auto tokens = settings.accessTokens.get();
|
||||
std::string answer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue