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)
462462Guard Authenticators
463463~~~~~~~~~~~~~~~~~~~~
464464
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+
465470A Guard authenticator is a class that gives you *complete * control over your
466471authentication process. There are many different ways to build an authenticator;
467472here are a few common use-cases:
Original file line number Diff line number Diff line change 11Built-in Authentication Providers
22=================================
33
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.
77
88But, Symfony also offers a number of built-in authentication providers: systems
99that 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
77.. caution ::
88
99 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 >`
1412
1513Symfony provides support for the most
1614:doc: `common authentication mechanisms </security/auth_providers >`. However, your
Original file line number Diff line number Diff line change 44Custom Authentication System with Guard (API Token Example)
55===========================================================
66
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+
712Guard authentication can be used to:
813
914* :doc: `Build a Login Form </security/form_login_setup >`
@@ -14,11 +19,6 @@ Guard authentication can be used to:
1419and many more. In this example, we'll build an API token authentication
1520system, so we can learn more about Guard in detail.
1621
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-
2222Step 1) Prepare your User Class
2323-------------------------------
2424
Original file line number Diff line number Diff line change 11How to Use Multiple Guard Authenticators
22========================================
33
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+
49The Guard authentication component allows you to use many different
510authenticators at a time.
611
You can’t perform that action at this time.
0 commit comments