for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\ApiBundle\Security\Authentication\Provider;
use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
/**
* Dummy provider that should be used when wsse is not active.
*
* @author Tobias Nyholm <[email protected]>
*/
class DummyProvider implements AuthenticationProviderInterface
{
* {@inheritdoc}
public function authenticate(TokenInterface $token)
throw new AuthenticationException('Dummy provider.');
}
public function supports(TokenInterface $token)
return false;