You are here

public static function SimpleOauthAuthenticationProviderInterface::hasTokenValue in Simple OAuth (OAuth2) & OpenID Connect 8.2

Gets the access token from the request.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request object.

Return value

bool TRUE if there is an access token. FALSE otherwise.

1 method overrides SimpleOauthAuthenticationProviderInterface::hasTokenValue()
SimpleOauthAuthenticationProvider::hasTokenValue in src/Authentication/Provider/SimpleOauthAuthenticationProvider.php
Gets the access token from the request.

File

src/Authentication/Provider/SimpleOauthAuthenticationProviderInterface.php, line 23

Class

SimpleOauthAuthenticationProviderInterface
@internal

Namespace

Drupal\simple_oauth\Authentication\Provider

Code

public static function hasTokenValue(Request $request);