Skip to content

Commit

Permalink
An interface should be implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvdvleuten committed Jan 27, 2014
1 parent 064c740 commit ea5531b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/api_key_authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The ``$userProvider`` might look something like this::
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;

class ApiKeyUserProvider extends UserProviderInterface
class ApiKeyUserProvider implements UserProviderInterface
{
public function getUsernameForApiKey($apiKey)
{
Expand Down

0 comments on commit ea5531b

Please sign in to comment.