W3cubDocs

/Drupal 8

class PrivateKey

Manages the Drupal private key.

Hierarchy

File

core/lib/Drupal/Core/PrivateKey.php, line 11

Namespace

Drupal\Core

Members

Name Modifiers Type Description
PrivateKey::$state protected property The state service.
PrivateKey::create protected function Creates a new private key.
PrivateKey::get public function Gets the private key.
PrivateKey::set public function Sets the private key.
PrivateKey::__construct function Constructs the token generator.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!PrivateKey.php/class/PrivateKey/8.1.x