Symfony2 API
Class

Symfony\Component\Security\Http\EntryPoint\DigestAuthenticationEntryPoint

class DigestAuthenticationEntryPoint implements AuthenticationEntryPointInterface

DigestAuthenticationEntryPoint starts an HTTP Digest authentication.

Methods

__construct($realmName, $key, $nonceValiditySeconds = 300, LoggerInterface $logger = null)

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

Starts the authentication scheme.

getKey()

getRealmName()

Details

at line 33
public __construct($realmName, $key, $nonceValiditySeconds = 300, LoggerInterface $logger = null)

Parameters

$realmName
$key
$nonceValiditySeconds
LoggerInterface $logger

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

at line 65
public getKey()

at line 70
public getRealmName()