Skip to content

Update guard_authentication.rst #7964

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
wants to merge 1 commit into from
Closed

Conversation

javihgil
Copy link
Contributor

"Or, extend the simpler :class:Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator. This requires you to implement seven methods::" not six.

GuardAuthenticatorInterface defines 8 methods, and AbstractGuardAuthenticator implements only the createAuthenticatedToken method:

http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html
http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html

Thanks!

"Or, extend the simpler :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`. This requires you to implement seven methods::" not six.

GuardAuthenticatorInterface defines 8 methods, and AbstractGuardAuthenticator implements only the createAuthenticatedToken method:

http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html
http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html

Thanks!
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

👍

@xabbuh xabbuh added this to the 2.8 milestone May 31, 2017
@xabbuh
Copy link
Member

xabbuh commented Jun 3, 2017

Thank you @javihgil.

xabbuh added a commit that referenced this pull request Jun 3, 2017
This PR was submitted for the 3.2 branch but it was merged into the 2.8 branch instead (closes #7964).

Discussion
----------

Update guard_authentication.rst

"Or, extend the simpler :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`. This requires you to implement seven methods::" not six.

GuardAuthenticatorInterface defines 8 methods, and AbstractGuardAuthenticator implements only the createAuthenticatedToken method:

http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html
http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html

Thanks!

Commits
-------

2fa5c7e Update guard_authentication.rst
@xabbuh xabbuh closed this Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants