@@ -303,7 +303,7 @@ Finally, configure your ``firewalls`` key in ``security.yml`` to use this authen
303303
304304 # if you want, disable storing the user in the session
305305 # stateless: true
306-
306+
307307 # maybe other things, like form_login, remember_me, etc
308308 # ...
309309
@@ -427,7 +427,7 @@ Each authenticator needs the following methods:
427427
428428**supportsRememberMe **
429429 If you want to support "remember me" functionality, return true from this method.
430- You will still need to active ``rememebe_me `` under your firewall for it to work.
430+ You will still need to active ``remember_me `` under your firewall for it to work.
431431 Since this is a stateless API, you do not want to support "remember me"
432432 functionality in this example.
433433
@@ -448,17 +448,17 @@ to cause a failure::
448448
449449 // src/AppBundle/Security/TokenAuthenticator.php
450450 // ...
451-
451+
452452 use Symfony\Component\Security\Core\Exception\CustomUserMessageAuthenticationException;
453-
453+
454454 class TokenAuthenticator extends AbstractGuardAuthenticator
455455 {
456456 // ...
457-
457+
458458 public function getCredentials(Request $request)
459459 {
460460 // ...
461-
461+
462462 if ($token == 'ILuvAPIs') {
463463 throw new CustomUserMessageAuthenticationException(
464464 'ILuvAPIs is not a real API key: it\'s just a silly phrase'
@@ -467,7 +467,7 @@ to cause a failure::
467467
468468 // ...
469469 }
470-
470+
471471 // ...
472472 }
473473
@@ -512,7 +512,7 @@ Frequently Asked Questions
512512
513513 # if you want, disable storing the user in the session
514514 # stateless: true
515-
515+
516516 # maybe other things, like form_login, remember_me, etc
517517 # ...
518518
0 commit comments