Skip to content

Documentation for the new Guard authentication style #5265

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 8 commits into from
Nov 27, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cookbook/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@

* :doc:`/cookbook/security/form_login_setup`
* :doc:`/cookbook/security/entity_provider`
* :doc:`/cookbook/security/guard-authentication`
* :doc:`/cookbook/security/remember_me`
* :doc:`/cookbook/security/impersonating_user`
* :doc:`/cookbook/security/form_login`
Expand Down
5 changes: 5 additions & 0 deletions cookbook/security/api_key_authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
How to Authenticate Users with API Keys
=======================================

.. tip::

Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
flexible way to accomplish custom authentication tasks like this.

Nowadays, it's quite usual to authenticate the user via an API key (when developing
a web service for instance). The API key is provided for every request and is
passed as a query string parameter or via an HTTP header.
Expand Down
1 change: 1 addition & 0 deletions cookbook/security/custom_authentication_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ How to Create a custom Authentication Provider
you through that process. But depending on your needs, you may be able
to solve your problem in a simpler, or via a community bundle:

* :doc:`/cookbook/security/guard-authentication`
* :doc:`/cookbook/security/custom_password_authenticator`
* :doc:`/cookbook/security/api_key_authentication`
* To authenticate via OAuth using a third-party service such as Google, Facebook
Expand Down
5 changes: 5 additions & 0 deletions cookbook/security/custom_password_authenticator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
How to Create a Custom Form Password Authenticator
==================================================

.. tip::

Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
flexible way to accomplish custom authentication tasks like this.

Imagine you want to allow access to your website only between 2pm and 4pm
UTC. Before Symfony 2.4, you had to create a custom token, factory, listener
and provider. In this entry, you'll learn how to do this for a login form
Expand Down
Loading