-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
[v2] Add QueryKeyAuthenticator #98
Comments
Ooh yeah that could be good! So it just adds a query parameter with the key and value? |
Exactly. Wasn't sure about naming but yeah, like |
I can definitely add that in - but I do think defaultQuery on the connector is a good approach too, you would just need to accept the API key through the constructor of the connector. |
Yeah, doing it right now that way. But The authenticator feels better. And one question regarding priority. |
Okay, so right now the change would be (some way) even worse. 😅 |
This has now been added to the v2 branch! |
Some APIs use a query param based Key authentication. For sure that's possible with a
defaultQuery()
method but somehow feels wrong. So how about aQUeryAuthenticator
or similar named class with a signature likenew QueryAuth(string $name, string $value)
. 🤔The text was updated successfully, but these errors were encountered: