Skip to content

Conversation

@kliem
Copy link
Contributor

@kliem kliem commented Jun 7, 2024

Requester hands over the headers to Authentication classes for adding authentication.

Thus a consumer of this package is able to implement any kind of authentication done in the headers.

This should resolve #2971.

@kliem kliem force-pushed the feat/extra_headers_for_requester branch 3 times, most recently from b0c6f91 to c2ae2e7 Compare June 7, 2024 20:24
Requester hands over the headers to Authentication classes for adding authentication
@kliem kliem force-pushed the feat/extra_headers_for_requester branch from c2ae2e7 to 294e68a Compare June 7, 2024 21:55
Copy link
Collaborator

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent refactoring! Can you move the code from tests/Issue2971.py into tests/Authentication.py?

@kliem kliem requested a review from EnricoMi July 29, 2024 18:51
@kliem
Copy link
Contributor Author

kliem commented Jul 29, 2024

Thanks for the package. It made our life a lot easier.

I moved the tests according to your request.

Copy link
Collaborator

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@EnricoMi EnricoMi enabled auto-merge July 30, 2024 12:30
@EnricoMi EnricoMi disabled auto-merge July 30, 2024 12:30
@EnricoMi EnricoMi changed the title feat: allow custom auth Allow custom authentication Jul 30, 2024
@EnricoMi EnricoMi added this pull request to the merge queue Jul 30, 2024
Merged via the queue into PyGithub:main with commit 32b826f Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow extra headers

2 participants