public function TokenAuthUserInterface::getConsumer in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getConsumer()
- 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\AuthenticationCode
public function getConsumer();