FormAuthenticationEntryPoint
in package
implements
AuthenticationEntryPointInterface
FormAuthenticationEntryPoint starts an authentication via a login form.
Tags
Interfaces, Classes, Traits and Enums
- AuthenticationEntryPointInterface
- Implement this interface for any classes that will be called to "start" the authentication process (see method for more details).
Table of Contents
- $httpKernel : mixed
- $httpUtils : mixed
- $loginPath : mixed
- $useForward : mixed
- __construct() : mixed
- start() : Response
- Returns a response that directs the user to authenticate.
Properties
$httpKernel
private
mixed
$httpKernel
$httpUtils
private
mixed
$httpUtils
$loginPath
private
mixed
$loginPath
$useForward
private
mixed
$useForward
Methods
__construct()
public
__construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, string $loginPath[, bool $useForward = false ]) : mixed
Parameters
- $kernel : HttpKernelInterface
- $httpUtils : HttpUtils
- $loginPath : string
-
The path to the login form
- $useForward : bool = false
-
Whether to forward or redirect to the login form
Return values
mixed —start()
Returns a response that directs the user to authenticate.
public
start(Request $request[, AuthenticationException $authException = null ]) : Response
Parameters
- $request : Request
- $authException : AuthenticationException = null