mirror of
https://github.com/FriendsOfSymfony/FOSAdvancedEncoderBundle.git
synced 2026-04-26 01:48:02 +02:00
First version of the bundle
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Stof\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();
|
||||
}
|
||||
Reference in New Issue
Block a user