You are here

public function TokenInterface::getUser in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/TokenInterface.php \Drupal\oauth2_server\TokenInterface::getUser()

Return the user the token belongs to.

Return value

\Drupal\user\UserInterface The user object or FALSE.

1 method overrides TokenInterface::getUser()
Token::getUser in src/Entity/Token.php
Return the user the token belongs to.

File

src/TokenInterface.php, line 20

Class

TokenInterface
Defines the interface for token entities.

Namespace

Drupal\oauth2_server

Code

public function getUser();