8000 clarifying the need of a factory for auth-provider · symfony/symfony-docs@bd3e5f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit bd3e5f3

Browse files
committed
clarifying the need of a factory for auth-provider
I think the documentation is a little bit unclear here. It doesnt actually explain why we dont simply expose the provider via "normal" service definition, but instead doing it in a compiler pass.
1 parent f368523 commit bd3e5f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/security/custom_authentication_provider.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ The Factory
299299
-----------
300300

301301
You have created a custom token, custom listener, and custom provider. Now
302-
you need to tie them all together. How do you make your provider available
303-
to your security configuration? The answer is by using a *factory*. A factory
302+
you need to tie them all together. How do you make a unique provider available
303+
for every firewall? The answer is by using a *factory*. A factory
304304
is where you hook into the Security component, telling it the name of your
305305
provider and any configuration options available for it. First, you must
306306
create a class which implements

0 commit comments

Comments
 (0)
0