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
Namespace
Drupal\simple_oauth\Authentication\ProviderCode
public static function hasTokenValue(Request $request);