Skip to content

Conversation

@da1910
Copy link

@da1910 da1910 commented Aug 25, 2021

Adds support for most of the Negotiate and NTLM authentication mechanisms. No current support for Channel Binding Tokens, since it is currently not possible to access the httpx SSLSocketContext via supported means.

PR has been tested with IIS on Windows 10, but should be considered alpha, it has not been tested on any linux distributions.

PR includes unit tests for helper functions, but does not currently include any end-to-end tests, it should be possible to deploy a KDC and protected server in a container, but I have not implemented that so far.

httpx.BasicAuth.__init__(self, username, password)


class Negotiate(httpx.Auth, SupportMultiAuth):
Copy link
Owner

Choose a reason for hiding this comment

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

Could you move everything to a specific file ?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
6.7% 6.7% Duplication

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.

2 participants