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

__construct($realmName)

Parameters

$realmName

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