You are here

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

Same name and namespace in other branches
  1. 8.4 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()
  2. 8.2 src/Authentication/TokenAuthUserInterface.php \Drupal\simple_oauth\Authentication\TokenAuthUserInterface::getToken()
  3. 8.3 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

AccessTokenInterface 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 16

Class

TokenAuthUserInterface

Namespace

Drupal\simple_oauth\Authentication

Code

public function getToken();