Symfony2 API
Class

Symfony\Component\Security\Http\EntryPoint\BasicAuthenticationEntryPoint

class BasicAuthenticationEntryPoint implements AuthenticationEntryPointInterface

BasicAuthenticationEntryPoint starts an HTTP Basic authentication.

Methods

__construct($realmName)

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

Starts the authentication scheme.

Details

at line 28
public __construct($realmName)

Parameters

$realmName

at line 33
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