SecurityTrait
trait SecurityTrait
Security trait.
Methods
string
encodePassword(UserInterface $user, string $password)
Encodes the raw password.
bool
isGranted(mixed $attributes, mixed $object = null)
Checks if the attributes are granted against the current authentication token and optionally supplied object.
Details
at line 34
string
encodePassword(UserInterface $user, string $password)
Encodes the raw password.
at line 49
bool
isGranted(mixed $attributes, mixed $object = null)
Checks if the attributes are granted against the current authentication token and optionally supplied object.