Returns the secure session ID.
Return value
string|NULL
The session ID or NULL if this user does not have an active secure session.
File
- drupal/core/lib/Drupal/Core/Session/AccountInterface.php, line 48
- Contains \Drupal\Core\Session\AccountInterface.
Class
- AccountInterface
- Defines an account interface which represents the current user.
Namespace
Drupal\Core\Session
Code
public function getSecureSessionId();