| Methods |
public
|
normalizePassword(string $password, bool $forVerifyOnly): string
|
#
|
public
|
hashPassword(string $password): string
|
#
|
public
|
hashPasswordVerify(string $hash, string $password): bool
|
#
|
public
|
hashPasswordIsHashed(string $value): bool
|
#
|
public
|
normalize($hash): ?string
Depending on the type of a current field, this will perform
some normalization for strict types. This method must also…
Depending on the type of a current field, this will perform
some normalization for strict types. This method must also make
sure that $f->required is respected when setting the value, e.g.
you can't set value to '' if type=string and required=true.
Overrides
|
#
|
public
|
setPassword(Model $entity, string $password): self
|
#
|
public
|
verifyPassword(Model $entity, string $password): bool
Returns true if the supplied password matches the stored hash.
Returns true if the supplied password matches the stored hash.
|
#
|
public
|
generatePassword(int $length = null): string
|
#
|