W3cubDocs

/Symfony 2.7

Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface

interface AuthenticationEntryPointInterface

AuthenticationEntryPointInterface is the interface used to start the authentication scheme.

Methods

Response start(Request $request, AuthenticationException $authException = null)

Starts the authentication scheme.

Details

public Response start(Request $request, AuthenticationException $authException = null)

Starts the authentication scheme.

Parameters

Request $request The request that resulted in an AuthenticationException
AuthenticationException $authException The exception that started the authentication process

Return Value

Response