PermissionsHashGenerator

Generates and caches the permissions hash for a user.

Hierarchy

File

core/lib/Drupal/Core/Session/PermissionsHashGenerator.php, line 13

Namespace

Drupal\Core\Session

Members

Name Modifiers Type Description
PermissionsHashGenerator::$cache protected property The cache backend interface to use for the persistent cache.
PermissionsHashGenerator::$privateKey protected property The private key service.
PermissionsHashGenerator::$static protected property The cache backend interface to use for the static cache.
PermissionsHashGenerator::doGenerate protected function Generates a hash that uniquely identifies the user's permissions.
PermissionsHashGenerator::generate public function Cached by role, invalidated whenever permissions change. Overrides PermissionsHashGeneratorInterface::generate
PermissionsHashGenerator::hash protected function Hashes the given string.
PermissionsHashGenerator::__construct public function Constructs a PermissionsHashGenerator object.
doc_Drupal
2016-10-29 09:33:42
Comments
Leave a Comment

Please login to continue.