Skip to content

Document the Security helper methods #8437

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

Closed
xabbuh opened this issue Sep 28, 2017 · 1 comment
Closed

Document the Security helper methods #8437

xabbuh opened this issue Sep 28, 2017 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue. Security
Milestone

Comments

@xabbuh
Copy link
Member

xabbuh commented Sep 28, 2017

The Security class now offers some helper methods for often used features: symfony/symfony#24337

@xabbuh xabbuh added this to the 3.4 milestone Sep 28, 2017
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label May 28, 2018
javiereguiluz added a commit that referenced this issue Jun 1, 2018
…eguiluz)

This PR was squashed before being merged into the 3.4 branch (closes #9847).

Discussion
----------

Use the new Security helper in some code examples

This fixes #8437 replacing `use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;` by `use Symfony\Component\Security\Core\Security;` when possible.

Also, replace `use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;` by `use Symfony\Component\Security\Core\Security;` when possible.

Commits
-------

df21fd8 Use the new Security helper in some code examples
@javiereguiluz
Copy link
Member

Fixed by #9847.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. Security
Projects
None yet
Development

No branches or pull requests

2 participants