We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
The Header authentication service, introduced in php-http/message@144d13b, is present since v1.9.0 of its related package.
Header
However, it is currently not possible to configure it through the bundle configuration:
HttplugBundle/src/DependencyInjection/Configuration.php
Lines 645 to 666 in 57284fb
Example
httplug: clients: sample: # ... plugins: - base_uri: uri: "%env(SAMPLE_API_URL)%" - authentication: header: type: header name: "ApiKey" token: "%env(SAMPLE_API_TOKEN)%"
The text was updated successfully, but these errors were encountered:
yeah, that is missing. the place in the configuration you linked is where we should add it indeed.
and update the documentation here and here
for your proposed configuration format, i would make it consistent with the name in the authentication class, so it would be
- authentication: header: type: header name: "ApiKey" value: "%env(SAMPLE_API_TOKEN)%"
do you want to do a pull request for it?
Sorry, something went wrong.
Working on it.
Successfully merging a pull request may close this issue.
Description
The
Header
authentication service, introduced in php-http/message@144d13b, is present since v1.9.0 of its related package.However, it is currently not possible to configure it through the bundle configuration:
HttplugBundle/src/DependencyInjection/Configuration.php
Lines 645 to 666 in 57284fb
Example
The text was updated successfully, but these errors were encountered: