You are here

public function TokenInterface::getClient in OAuth2 Server 2.0.x

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

Return the client the token belongs to.

Return value

\Drupal\oauth2_server\ClientInterface The client object or FALSE.

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

File

src/TokenInterface.php, line 28

Class

TokenInterface
Defines the interface for token entities.

Namespace

Drupal\oauth2_server

Code

public function getClient();