| @@ 202-214 (lines=13) @@ | ||
| 199 | /**  | 
                                |
| 200 |      * {@inheritdoc} | 
                                |
| 201 | */  | 
                                |
| 202 | public function onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey)  | 
                                |
| 203 |     { | 
                                |
| 204 | $event = new AuthenticationHandlerEvent(  | 
                                |
| 205 | $this->successHandler->onAuthenticationSuccess($request, $token),  | 
                                |
| 206 | $request,  | 
                                |
| 207 | null,  | 
                                |
| 208 | $token,  | 
                                |
| 209 | $providerKey  | 
                                |
| 210 | );  | 
                                |
| 211 | $this->dispatcher->dispatch(AuthenticationHandlerEvent::SUCCESS, $event);  | 
                                |
| 212 | ||
| 213 | return $event->getResponse();  | 
                                |
| 214 | }  | 
                                |
| 215 | ||
| 216 | /**  | 
                                |
| 217 |      * {@inheritdoc} | 
                                |
| @@ 219-229 (lines=11) @@ | ||
| 216 | /**  | 
                                |
| 217 |      * {@inheritdoc} | 
                                |
| 218 | */  | 
                                |
| 219 | public function onAuthenticationFailure(Request $request, AuthenticationException $exception)  | 
                                |
| 220 |     { | 
                                |
| 221 | $event = new AuthenticationHandlerEvent(  | 
                                |
| 222 | $this->failureHandler->onAuthenticationFailure($request, $exception),  | 
                                |
| 223 | $request,  | 
                                |
| 224 | $exception  | 
                                |
| 225 | );  | 
                                |
| 226 | $this->dispatcher->dispatch(AuthenticationHandlerEvent::FAILURE, $event);  | 
                                |
| 227 | ||
| 228 | return $event->getResponse();  | 
                                |
| 229 | }  | 
                                |
| 230 | ||
| 231 | /**  | 
                                |
| 232 |      * {@inheritdoc} | 
                                |
| @@ 234-244 (lines=11) @@ | ||
| 231 | /**  | 
                                |
| 232 |      * {@inheritdoc} | 
                                |
| 233 | */  | 
                                |
| 234 | public function start(Request $request, AuthenticationException $authException = null)  | 
                                |
| 235 |     { | 
                                |
| 236 | $event = new AuthenticationHandlerEvent(  | 
                                |
| 237 | $this->entryPoint->start($request, $authException),  | 
                                |
| 238 | $request,  | 
                                |
| 239 | $authException  | 
                                |
| 240 | );  | 
                                |
| 241 | $this->dispatcher->dispatch(AuthenticationHandlerEvent::START, $event);  | 
                                |
| 242 | ||
| 243 | return $event->getResponse();  | 
                                |
| 244 | }  | 
                                |
| 245 | ||
| 246 | /**  | 
                                |
| 247 |      * {@inheritdoc} | 
                                |