SimpleOauthAuthenticationProviderInterface.php in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same filename and directory in other branches
File
src/Authentication/Provider/SimpleOauthAuthenticationProviderInterface.phpView source
<?php
namespace Drupal\simple_oauth\Authentication\Provider;
use Drupal\Core\Authentication\AuthenticationProviderInterface;
use Symfony\Component\HttpFoundation\Request;
/**
* @internal
*/
interface SimpleOauthAuthenticationProviderInterface extends AuthenticationProviderInterface {
/**
* Gets the access token from the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The request object.
*
* @return bool
* TRUE if there is an access token. FALSE otherwise.
*/
public static function hasTokenValue(Request $request);
}
Interfaces
Name | Description |
---|---|
SimpleOauthAuthenticationProviderInterface | @internal |