Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for personal-access-tokens
- added a new PATAuthTransport type that has a 'Token' attribute to hold your unique PAT - setting the Authorization header with the bearer token in the RoundTrip function. - added test to prove to the token gets passed via the header - bonus: fixed typo in existing test name
- Loading branch information
Dick Appel
committed
Nov 23, 2021
1 parent
a9aa4bd
commit 84ba530
Showing
3 changed files
with
58 additions
and
1 deletion.
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