public function Nodejs::logoutUser in Node.js integration 8
File
- src/
Nodejs.php, line 113
Class
Namespace
Drupal\nodejsCode
public function logoutUser($token) {
$options = [
'method' => 'POST',
];
return $this
->httpRequest("nodejs/user/logout/{$token}", $options);
}