Skip to content

Commit 440fe6f

Browse files
committed
revamping Guard article
1 parent bfce91b commit 440fe6f

5 files changed

+580
-493
lines changed

cookbook/security/api_key_authentication.rst

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to Authenticate Users with API Keys
55
=======================================
66

7+
.. tip::
8+
9+
Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
10+
flexible way to accomplish custom authentication tasks like this.
11+
712
Nowadays, it's quite usual to authenticate the user via an API key (when developing
813
a web service for instance). The API key is provided for every request and is
914
passed as a query string parameter or via an HTTP header.

cookbook/security/custom_authentication_provider.rst

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ How to Create a custom Authentication Provider
1010
you through that process. But depending on your needs, you may be able
1111
to solve your problem in a simpler, or via a community bundle:
1212

13+
* :doc:`/cookbook/security/guard-authentication`
1314
* :doc:`/cookbook/security/custom_password_authenticator`
1415
* :doc:`/cookbook/security/api_key_authentication`
1516
* To authenticate via OAuth using a third-party service such as Google, Facebook

cookbook/security/custom_password_authenticator.rst

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to Create a Custom Form Password Authenticator
55
==================================================
66

7+
.. tip::
8+
9+
Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
10+
flexible way to accomplish custom authentication tasks like this.
11+
712
Imagine you want to allow access to your website only between 2pm and 4pm
813
UTC. Before Symfony 2.4, you had to create a custom token, factory, listener
914
and provider. In this entry, you'll learn how to do this for a login form

0 commit comments

Comments
 (0)