GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
I am not able to understand what are the fields auRealm and auSite fields in Authority AuthBasic are for?
In the code for withAuthority they are not used and even Wikipedia doesnt mention them in Client Side
As far as I can see from the code, auSite is currently used to pick an appropriate authority to send to any given site, and as you say auRealm is ignored.
I guess what should happen is that a particular authority is only used when auRealm matches the realm sent by the server in the WWW-Authenticate header.