DirectoryLoader

class DirectoryLoader extends FileLoader Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a loader able to load an imported resource.

DirectoryLoader

class DirectoryLoader extends FileLoader DirectoryLoader is a recursive loader to go through directories. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resource, string|n

DigestData::validateAndDecode()

validateAndDecode($entryPointKey, $expectedRealm) Parameters $entryPointKey $expectedRealm

DigestData::isNonceExpired()

isNonceExpired()

DigestData::getUsername()

getUsername()

DigestData::getResponse()

getResponse()

DigestData::calculateServerDigest()

calculateServerDigest($password, $httpMethod) Parameters $password $httpMethod

DigestData

class DigestData Methods __construct($header) getResponse() getUsername() validateAndDecode($entryPointKey, $expectedRealm) calculateServerDigest($password, $httpMethod) isNonceExpired() Details __construct($header) Parameters $header getResponse() getUsername() validateAndDecode($entryPointKey, $exp

DigestAuthenticationListener

class DigestAuthenticationListener implements ListenerInterface DigestAuthenticationListener implements Digest HTTP authentication. Methods __construct(TokenStorageInterface $tokenStorage, UserProviderInterface $provider, $providerKey, DigestAuthenticationEntryPoint $authenticationEntryPoint, LoggerInterface $logger = null) handle(GetResponseEvent $event) Handles digest authentication. Details __construct(TokenStorageInterface $tokenStorage, UserPro

DigestAuthenticationEntryPoint::start()

Response start(Request $request, AuthenticationException $authException = null) Returns a response that directs the user to authenticate. This is called when an anonymous request accesses a resource that requires authentication. The job of this method is to return some response that "helps" the user start into the authentication process. Examples: A) For a form login, you might redirect to the login page return new Response('/login'); B) For an API token authentication system, y