PHP Class FOS\UserBundle\Security\Encoder\EncoderFactory

Author: Johannes M. Schmitt ([email protected])
Author: Jeremy Mikola ([email protected])
Inheritance: implements Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface
Afficher le fichier Open project: KnpLabs/KnpUserBundle Class Usage Examples

Protected Properties

Свойство Type Description
$encodeHashAsBase64
$encoderClass
$encoders
$genericFactory
$iterations

Méthodes publiques

Méthode Description
__construct ( string $encoderClass, boolean $encodeHashAsBase64, integer $iterations, Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $genericFactory ) Constructor.
getEncoder ( Symfony\Component\Security\Core\User\AccountInterface $account )

Méthodes protégées

Méthode Description
createEncoder ( string $algorithm ) : PasswordEncoderInterface Creates an encoder for the given algorithm.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $encoderClass, boolean $encodeHashAsBase64, integer $iterations, Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $genericFactory )
$encoderClass string Encoder class
$encodeHashAsBase64 boolean
$iterations integer
$genericFactory Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface

createEncoder() protected méthode

Creates an encoder for the given algorithm.
protected createEncoder ( string $algorithm ) : PasswordEncoderInterface
$algorithm string
Résultat PasswordEncoderInterface

getEncoder() public méthode

See also: Symfony\Component\Security\Core\Encoder\EncoderFactory::getEncoder()
public getEncoder ( Symfony\Component\Security\Core\User\AccountInterface $account )
$account Symfony\Component\Security\Core\User\AccountInterface

Property Details

$encodeHashAsBase64 protected_oe property

protected $encodeHashAsBase64

$encoderClass protected_oe property

protected $encoderClass

$encoders protected_oe property

protected $encoders

$genericFactory protected_oe property

protected $genericFactory

$iterations protected_oe property

protected $iterations