W3cubDocs

/Symfony 2.8

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

public __construct($realmName)

Parameters

$realmName

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