mirror of
https://github.com/FriendsOfSymfony/FOSAdvancedEncoderBundle.git
synced 2026-03-24 16:52:06 +01:00
31 lines
735 B
PHP
31 lines
735 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the FOSAdvancedEncoderBundle package.
|
|
*
|
|
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace FOS\AdvancedEncoderBundle\Security\Encoder;
|
|
|
|
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
|
|
|
|
/**
|
|
* @author Christophe Coevoet <stof@notk.org>
|
|
*/
|
|
interface EncoderAwareInterface
|
|
{
|
|
/**
|
|
* Gets the name of the encoder used to encode the password.
|
|
*
|
|
* If the method returns null, the standard way to retrieve the encoder
|
|
* will be used instead.
|
|
*
|
|
* @return string
|
|
*/
|
|
function getEncoderName();
|
|
}
|