diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-09-03 21:29:24 +0200 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-09-03 21:48:11 +0200 |
commit | 12610e011217e0913724983d5c5297624577d4d1 (patch) | |
tree | fef452b9f6ebb2ad054d08527d36be6a78a96c4f /Http/Authentication | |
parent | cbeb4cecfc7efa6aae465a83b02e943545140fbf (diff) | |
download | symfony-security-12610e011217e0913724983d5c5297624577d4d1.zip symfony-security-12610e011217e0913724983d5c5297624577d4d1.tar.gz symfony-security-12610e011217e0913724983d5c5297624577d4d1.tar.bz2 |
[Security] Remove deprecated interfaces
Diffstat (limited to 'Http/Authentication')
-rw-r--r-- | Http/Authentication/SimpleFormAuthenticatorInterface.php | 6 | ||||
-rw-r--r-- | Http/Authentication/SimplePreAuthenticatorInterface.php | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Http/Authentication/SimpleFormAuthenticatorInterface.php b/Http/Authentication/SimpleFormAuthenticatorInterface.php index 112688c..39c3133 100644 --- a/Http/Authentication/SimpleFormAuthenticatorInterface.php +++ b/Http/Authentication/SimpleFormAuthenticatorInterface.php @@ -11,11 +11,13 @@ namespace Symfony\Component\Security\Http\Authentication; -use Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface as BaseSimpleFormAuthenticatorInterface; +use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface; /** * @author Jordi Boggiano <j.boggiano@seld.be> */ -interface SimpleFormAuthenticatorInterface extends BaseSimpleFormAuthenticatorInterface +interface SimpleFormAuthenticatorInterface extends SimpleAuthenticatorInterface { + public function createToken(Request $request, $username, $password, $providerKey); } diff --git a/Http/Authentication/SimplePreAuthenticatorInterface.php b/Http/Authentication/SimplePreAuthenticatorInterface.php index afa8049..63abb15 100644 --- a/Http/Authentication/SimplePreAuthenticatorInterface.php +++ b/Http/Authentication/SimplePreAuthenticatorInterface.php @@ -11,11 +11,13 @@ namespace Symfony\Component\Security\Http\Authentication; -use Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface as BaseSimplePreAuthenticatorInterface; +use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface; /** * @author Jordi Boggiano <j.boggiano@seld.be> */ -interface SimplePreAuthenticatorInterface extends BaseSimplePreAuthenticatorInterface +interface SimplePreAuthenticatorInterface extends SimpleAuthenticatorInterface { + public function createToken(Request $request, $providerKey); } |