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

GenericTokenFactoryInterface is marked as deprecated but there is no replacement #949

Open
Tetragramat opened this issue Oct 31, 2022 · 0 comments

Comments

@Tetragramat
Copy link
Contributor

GenericTokenFactoryInterface is marked as deprecated but there is no replacement for GenericTokenFactoryAwareInterface nor GenericTokenFactoryAwareTrait. So since version 2.0 there will be no way how to create token inside payum action.

https://github.com/Payum/Payum/blob/master/src/Payum/Core/Security/GenericTokenFactoryInterface.php#L6

Solution:

Add TokenFactoryAwareInterface and TokenFactoryAwareTrait which contains AbstractTokenFactory instance

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

No branches or pull requests

1 participant