W3cubDocs

/Symfony 2.7

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.

string getKey()
string getRealmName()

Details

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

Parameters

$realmName
$key
$nonceValiditySeconds
LoggerInterface $logger

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

public string getKey()

Return Value

string

public string getRealmName()

Return Value

string