dapr / php-sdk

Dapr SDK for PHP
Apache License 2.0
72 stars 15 forks source link

Support token auth #110

Closed withinboredom closed 3 years ago

withinboredom commented 3 years ago

Description

This adds support for token authentication from/to Dapr sidecars

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #81

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

codecov-commenter commented 3 years ago

Codecov Report

Merging #110 (8910264) into main (3ef152f) will decrease coverage by 0.06%. The diff coverage is 69.23%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #110      +/-   ##
============================================
- Coverage     77.05%   76.99%   -0.07%     
- Complexity      540      551      +11     
============================================
  Files            64       66       +2     
  Lines          1748     1769      +21     
============================================
+ Hits           1347     1362      +15     
- Misses          401      407       +6     
Impacted Files Coverage Δ
src/lib/Middleware/Defaults/TokenAuth.php 44.44% <44.44%> (ø)
src/lib/Client/DaprHttpClient.php 55.17% <57.14%> (+1.32%) :arrow_up:
src/config.php 100.00% <100.00%> (ø)
src/lib/Client/HttpTokenTrait.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3ef152f...8910264. Read the comment docs.