php-http / message

HTTP Message related tools
http://php-http.org
MIT License
1.29k stars 41 forks source link

add Header authentication method #118

Closed fbourigault closed 5 years ago

fbourigault commented 5 years ago
Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets none
Documentation https://github.com/php-http/documentation/pull/270
License MIT

What's in this PR?

This add a Header authentication method for arbitrary header based authentication (like X-AUTH-TOKEN).

Example Usage

new AuthenticationPlugin(new Header('X-AUTH-TOKEN', 'REAL'));

Checklist