You are here

public function TokenAuthUserInterface::getConsumer in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.3 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getConsumer()
  2. 5.x src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getConsumer()

Get the activated consumer.

Return value

\Drupal\consumers\Entity\Consumer The activated consumer after authentication.

1 method overrides TokenAuthUserInterface::getConsumer()
TokenAuthUser::getConsumer in src/Authentication/TokenAuthUser.php
Get the activated consumer.

File

src/Authentication/TokenAuthUserInterface.php, line 26

Class

TokenAuthUserInterface
@internal

Namespace

Drupal\simple_oauth\Authentication

Code

public function getConsumer();