Skip to content

Conversation

loechel
Copy link

@loechel loechel commented Sep 27, 2025

Summary

httpx is a fantastic library for HTTP request handling. For implementing REST API communication it is most often importent to also provide an authentication for transactional endpoints. Therefore a common set of Authentication methods should be avaliable in the httpx library.

This Pull Request adds the commonly used Bearer Token Auhtnetication Method (RFC 6750)

  • Basic Implementation of the BearerTokenAuth RFC
  • Test for BearertokenAuth
  • Documentation

Discussion: #3675

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

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.

1 participant