Skip to content

Allow using PSR-18 Client and PSR-17 RequestFactory in OAuth2 client #29

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

Merged
merged 6 commits into from
Mar 15, 2023

Conversation

Art4
Copy link
Member

@Art4 Art4 commented Mar 15, 2023

As long as league/oauth2-client does not support PSR-18 client and PSR-17 request factory, we need an adapter.

See thephpleague/oauth2-client#685.

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9f391fd) 100.00% compared to head (8e572ba) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##                v0.x       #29   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       115       129   +14     
===========================================
  Files             12        14    +2     
  Lines            323       371   +48     
===========================================
+ Hits             323       371   +48     
Impacted Files Coverage Δ
src/Client.php 100.00% <ø> (ø)
src/Authentication/Psr17RequestFactoryAdapter.php 100.00% <100.00%> (ø)
src/Authentication/Psr18GuzzleAdapter.php 100.00% <100.00%> (ø)
src/Configuration.php 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Art4 Art4 merged commit 5af7a9e into v0.x Mar 15, 2023
@Art4 Art4 deleted the improve-authenticator branch March 15, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant