1: <?php
2:
3: namespace Racoon\Api\Auth;
4:
5:
6: use Racoon\Api\Exception\AuthenticationException;
7: use Racoon\Api\Request;
8:
9: /**
10: * An Authenticator that allows everyone through.
11: * Class ApiKeyAuthenticator
12: * @package Racoon\Api\Auth
13: */
14: class NoAuthenticator implements AuthInterface
15: {
16:
17: /**
18: * @param Request $request
19: * @return bool
20: * @throws AuthenticationException
21: */
22: public function authenticate(Request $request)
23: {
24: return true;
25: }
26:
27: }