Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita171700

Browse files
committed
bugsymfony#3477 Api key user provider should use "implements" instead of "extends" (skowi)
This PR was merged into the 2.4 branch.Discussion----------Api key user provider should use "implements" instead of "extends"Commits-------f1c1273 ApiKeyUserProvider should implements UserProviderInterfacef39686a Changed extends to implements
2 parentsfb22fa0 +f1c1273 commita171700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cookbook/security/api_key_authentication.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The ``$userProvider`` might look something like this::
145145
use Symfony\Component\Security\Core\User\UserInterface;
146146
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
147147

148-
class ApiKeyUserProviderextends UserProviderInterface
148+
class ApiKeyUserProviderimplements UserProviderInterface
149149
{
150150
public function getUsernameForApiKey($apiKey)
151151
{
@@ -414,7 +414,7 @@ of the user to make sure it's not out-of-date. But regardless of your requiremen
414414
// src/Acme/HelloBundle/Security/ApiKeyUserProvider.php
415415

416416
// ...
417-
class ApiKeyUserProviderextends UserProviderInterface
417+
class ApiKeyUserProviderimplements UserProviderInterface
418418
{
419419
// ...
420420

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp