src/ServiceProviders/Security/AbstractSimplePreAuthenticationPolicy.php
public function getAuthenticationProvider(Container $app, $firewallName, $options)
    {
        return new SimpleAuthenticationProvider(
            $this->getPreAuthenticator(),
            $this->getUserProvider($app, $firewallName),
            $firewallName
        );
    }
public function getAuthenticationProvider(Container $app, $firewallName, $options)
    {
        return new SimpleAuthenticationProvider(
            $this->getPreAuthenticator(),
            $this->getUserProvider($app, $firewallName),
            $firewallName
        );
    }
public function getAuthenticationProvider ( Container $ app , $ firewallName , $ options ) { return new SimpleAuthenticationProvider ( $ this -> getPreAuthenticator ( ) , $ this -> getUserProvider ( $ app , $ firewallName ) , $ firewallName ) ; }
If string is returned, it must be either "anonymous" or "dao"

@param Container   $app
@param             $firewallName
@param             $options

@return string|AuthenticationProviderInterface
If string is returned it must be either anonymous or dao