You are here

public function AuthorizationCodeInterface::getUser in OAuth2 Server 2.0.x

Same name and namespace in other branches
  1. 8 src/AuthorizationCodeInterface.php \Drupal\oauth2_server\AuthorizationCodeInterface::getUser()

Return the user the code belongs to.

Return value

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

1 method overrides AuthorizationCodeInterface::getUser()
AuthorizationCode::getUser in src/Entity/AuthorizationCode.php
Return the user the code belongs to.

File

src/AuthorizationCodeInterface.php, line 20

Class

AuthorizationCodeInterface
Defines the interface for token entities.

Namespace

Drupal\oauth2_server

Code

public function getUser();