1 | <?php |
||
11 | class IPAuthenticationProvider implements AuthenticationProviderInterface |
||
12 | { |
||
13 | protected $ipToUserMapper; |
||
14 | protected $userProvider; |
||
15 | |||
16 | public function __construct($ipToUserMapper, UserProviderInterface $userProvider) |
||
21 | |||
22 | public function supports(TokenInterface $token) |
||
26 | |||
27 | public function authenticate(TokenInterface $token) |
||
44 | } |