You are here

public function TokenAuthUserInterface::getToken in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()
  2. 8 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()
  3. 8.2 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()
  4. 5.x src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()

Get the token.

Return value

\Drupal\simple_oauth\Entity\Oauth2TokenInterface The provided OAuth2 token.

1 method overrides TokenAuthUserInterface::getToken()
TokenAuthUser::getToken in src/Authentication/TokenAuthUser.php
Get the token.

File

src/Authentication/TokenAuthUserInterface.php, line 18

Class

TokenAuthUserInterface
@internal

Namespace

Drupal\simple_oauth\Authentication

Code

public function getToken();