public function UserBCDecorator::getSecureSessionId

Returns the secure session ID.

Return value

string|NULL The session ID or NULL if this user does not have an active secure session.

Overrides AccountInterface::getSecureSessionId

File

drupal/core/modules/user/lib/Drupal/user/UserBCDecorator.php, line 40
Contains \Drupal\user\UserBCDecorator.

Class

UserBCDecorator
Defines the user specific entity BC decorator.

Namespace

Drupal\user

Code

public function getSecureSessionId() {
  return $this->decorated
    ->getSecureSessionId();
}