-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BasicAuth #16
Comments
I think basicAuth() holds good, since we are talking about specific authentication mechanism (i.e Basic Authentication) here in Unirest with basicAuth(). We know that JEE and some other third party libraries do use auth() as the method name since they do accept any kind of authentication mechanism like given below:
I think this is the secret behind the naming convention for basicAuth() .. ;-) |
I see the PHP lib supports other auth types. Will this lib only support basic? The PHP also shows the more generic "auth" method, then as a parameter you can specify what type. |
We should look in the future to support specific headers for various token types (like Bearer tokens) but for how the header methods support this just file |
To be consistent with the other libraries should be
auth
The text was updated successfully, but these errors were encountered: