Commit 2c73f555 authored by Fabien Potencier's avatar Fabien Potencier

fixed typos in the doc

parent 0ac736b1
...@@ -470,10 +470,10 @@ sample users:: ...@@ -470,10 +470,10 @@ sample users::
Defining a custom Authentication Provider Defining a custom Authentication Provider
----------------------------------------- -----------------------------------------
The Symfony Security components provides a lot of ready-to-use authentication The Symfony Security component provides a lot of ready-to-use authentication
providers (form, HTTP, X509, remember me, ...), but you can add new ones providers (form, HTTP, X509, remember me, ...), but you can add new ones
easily. To register a new authentication provider, create a service named easily. To register a new authentication provider, create a service named
``security.authentication.factory.XXX`` where ``XXX``is the name you want to ``security.authentication.factory.XXX`` where ``XXX`` is the name you want to
use in your configuration:: use in your configuration::
$app['security.authentication.factory.wsse'] = $app->protect(function ($name, $options) use ($app) { $app['security.authentication.factory.wsse'] = $app->protect(function ($name, $options) use ($app) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment