Skip to content
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

Add an extension point on the UserProviderWithPayloadSupportInterface #344

Merged

Conversation

sroze
Copy link
Contributor

@sroze sroze commented Jun 9, 2017

So anybody can plug their own user provider and get access to the payload :)

@chalasr
Copy link
Collaborator

chalasr commented Jun 9, 2017

Great! One thing: PHP5 is still supported for this major :) (return type to be removed)

@@ -17,6 +17,7 @@
use Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\JWTUserToken;
use Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\PreAuthenticationJWTUserToken;
use Lexik\Bundle\JWTAuthenticationBundle\Security\User\JWTUserProvider;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This use is now unused

@chalasr chalasr merged commit e30bde8 into lexik:master Jun 9, 2017
@chalasr
Copy link
Collaborator

chalasr commented Jun 9, 2017

Thank you @sroze

@sroze sroze deleted the user-provider-with-payload-extension-point branch June 10, 2017 09:30
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.

2 participants