You are here

public function TokenGetter::getToken in Access unpublished 8

Get the current token.

Return value

string The token.

File

src/TokenGetter.php, line 42

Class

TokenGetter
Service to handle the current token.

Namespace

Drupal\access_unpublished

Code

public function getToken() {
  return $this->token;
}