Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 531ef15

Browse files
committed
Moved SimplePreAuthenticationInterface to Security\Http
1 parent fcf6e5f commit 531ef15

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

src/Symfony/Component/Security/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ CHANGELOG
44
2.8.0
55
-----
66

7+
* deprecated `Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface`, use
8+
`Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface` instead
79
* deprecated `Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface`, use
810
`Symfony\Component\Security\Http\Authentication\SimpleFormAuthenticatorInterface` instead
911

src/Symfony/Component/Security/Core/Authentication/SimplePreAuthenticatorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
use Symfony\Component\HttpFoundation\Request;
1515

1616
/**
17+
* @deprecated Since version 2.8, to be removed in 3.0. Use the same interface from Security\Http\Authentication instead.
18+
*
1719
* @author Jordi Boggiano <[email protected]>
1820
*/
1921
interface SimplePreAuthenticatorInterface extends SimpleAuthenticatorInterface
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Component\Security\Http\Authentication;
13+
14+
use Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface as BaseSimplePreAuthenticatorInterface;
15+
16+
/**
17+
* @author Jordi Boggiano <[email protected]>
18+
*/
19+
interface SimplePreAuthenticatorInterface extends BaseSimplePreAuthenticatorInterface
20+
{
21+
}

0 commit comments

Comments
 (0)