Make auth configuration available via UI, remove FOSUserBundle and SAML-Bundle dependency
40 lines
651 B
PHP
40 lines
651 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Kimai time-tracking app.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace App\Tests\Security;
|
|
|
|
use Symfony\Component\Security\Core\User\UserInterface;
|
|
|
|
class TestUserEntity implements UserInterface
|
|
{
|
|
public function getRoles()
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function getPassword()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function getSalt()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function getUsername()
|
|
{
|
|
return 'foo';
|
|
}
|
|
|
|
public function eraseCredentials()
|
|
{
|
|
}
|
|
}
|