blob: e58f2195cf531f792e8e51908b9e72eff5215991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
namespace Symfony\Component\Security\Authentication\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* AuthenticationEntryPointInterface is the interface used to start the
* authentication scheme.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface AuthenticationEntryPointInterface
{
/**
* Starts the authentication scheme.
*
* @param object $request The request that resulted in an AuthenticationException
* @param AuthenticationException $authException The exception that started the authentication process
*/
function start(Request $request, AuthenticationException $authException = null);
}
|