* * 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 */ 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); }