Add auth::{Authorization, AuthenticationScheme, BasicAuth, WwwAuthenticate, ProxyAuthorization, ProxyAuthenticate}#252
Conversation
40a8fce to
9414c5b
Compare
auth::{Authorization, AuthenticationScheme, BasicAuth}auth::{Authorization, AuthenticationScheme, BasicAuth, WwwAuthenticate}
|
I've added support for |
auth::{Authorization, AuthenticationScheme, BasicAuth, WwwAuthenticate}auth::{Authorization, AuthenticationScheme, BasicAuth, WwwAuthenticate, ProxyAuthorization, ProxyAuthenticate}
|
Okay; all implemented! |
|
However I did run into a UX issue with typed headers and surf: http-rs/surf#251 |
Fishrock123
left a comment
There was a problem hiding this comment.
For some reason I had the impression this covered more than basic auth. Looks good, although I am not familiar with WWW-Authenticate.
Basic auth certainly works when I make client requests to mailchimp.
One question I have is how to make Authorization and Proxy-Authorization work seamlessly.
Ref #99
Adds HTTP basic auth and related structs for authentication.
BasicAuth is a specialization of
Authorization; because schemes like oauth are rather elaborate, we've chosen to put them into separate structs.Thanks!
Screenshots