-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(presto-client): allow basic authentication #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
presto-client/README.md
Outdated
@@ -46,6 +46,9 @@ The Presto client can be configured with the following parameters: | |||
- `schema`: The default schema to use for queries. (Default: `undefined`) | |||
- `source`: The name of the source you want to use for reporting purposes (Default: `presto-js-client`) | |||
- `timezone`: The timezone to use for queries. (Default: `undefined`) | |||
- `authorizationToken`: The value to send as-is in the Authorization header. (Default: `undefined`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use the same order that we have in the client's constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this case I think I rather have params in order of relevance for anyone using the client 🤔
Changes
Resolves #15
Resolves #16
basicAuthentication
object.