mediatekformation

UserPasswordEncoder
in package
implements UserPasswordEncoderInterface

A generic password encoder.

Tags
author

Ariel Ferrandini arielferrandini@gmail.com

Interfaces, Classes, Traits and Enums

UserPasswordEncoderInterface
UserPasswordEncoderInterface is the interface for the password encoder service.

Table of Contents

$encoderFactory  : mixed
__construct()  : mixed
encodePassword()  : string
Encodes the plain password.
isPasswordValid()  : bool
needsRehash()  : bool
{@inheritdoc}

Properties

Methods

encodePassword()

Encodes the plain password.

public encodePassword(UserInterface $user, mixed $plainPassword) : string
Parameters
$user : UserInterface
$plainPassword : mixed

The password to encode

Return values
string

The encoded password

Search results