File tree Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -462,6 +462,11 @@ you to control *every* part of the authentication process (see the next section)
462
462
Guard Authenticators
463
463
~~~~~~~~~~~~~~~~~~~~
464
464
465
+ .. deprecated :: 5.3
466
+
467
+ Guard authenticators are deprecated since Symfony 5.3 in favor of the
468
+ :doc: `new authenticator-based system </security/authenticator_manager >`.
469
+
465
470
A Guard authenticator is a class that gives you *complete * control over your
466
471
authentication process. There are many different ways to build an authenticator;
467
472
here are a few common use-cases:
Original file line number Diff line number Diff line change 1
1
Built-in Authentication Providers
2
2
=================================
3
3
4
- If you need to add authentication to your app, we recommend using
5
- :doc: `Guard authentication </security/guard_authentication >` because it gives you
6
- full control over the process.
4
+ If you need to add authentication to your app, we recommend using the
5
+ :doc: `new authenticator-based system </security/authenticator_manager >` because
6
+ it gives you full control over the process.
7
7
8
8
But, Symfony also offers a number of built-in authentication providers: systems
9
9
that are easier to implement, but harder to customize. If your authentication
Original file line number Diff line number Diff line change @@ -7,10 +7,8 @@ How to Create a custom Authentication Provider
7
7
.. caution ::
8
8
9
9
Creating a custom authentication system is hard, and almost definitely
10
- **not ** needed. Instead, see :doc: `/security/guard_authentication ` for a
11
- simple way to create an authentication system you will love. Do **not **
12
- keep reading unless you want to learn the lowest level details of
13
- authentication.
10
+ **not ** needed. Instead, see the
11
+ :doc: `new authenticator-based system </security/authenticator_manager >`
14
12
15
13
Symfony provides support for the most
16
14
:doc: `common authentication mechanisms </security/auth_providers >`. However, your
Original file line number Diff line number Diff line change 4
4
Custom Authentication System with Guard (API Token Example)
5
5
===========================================================
6
6
7
+ .. deprecated :: 5.3
8
+
9
+ Guard authenticators are deprecated since Symfony 5.3 in favor of the
10
+ :doc: `new authenticator-based system </security/authenticator_manager >`.
11
+
7
12
Guard authentication can be used to:
8
13
9
14
* :doc: `Build a Login Form </security/form_login_setup >`
@@ -14,11 +19,6 @@ Guard authentication can be used to:
14
19
and many more. In this example, we'll build an API token authentication
15
20
system, so we can learn more about Guard in detail.
16
21
17
- .. tip ::
18
-
19
- A :doc: `new authenticator-based system </security/authenticator_manager >`
20
- was introduced in Symfony 5.1, which will eventually replace Guards in Symfony 6.0.
21
-
22
22
Step 1) Prepare your User Class
23
23
-------------------------------
24
24
Original file line number Diff line number Diff line change 1
1
How to Use Multiple Guard Authenticators
2
2
========================================
3
3
4
+ .. deprecated :: 5.3
5
+
6
+ Guard authenticators are deprecated since Symfony 5.3 in favor of the
7
+ :doc: `new authenticator-based system </security/authenticator_manager >`.
8
+
4
9
The Guard authentication component allows you to use many different
5
10
authenticators at a time.
6
11
You can’t perform that action at this time.
0 commit comments