You are here

interface SimpleOauthAuthenticationProviderInterface in Simple OAuth (OAuth2) & OpenID Connect 8.2

Same name and namespace in other branches
  1. 8 src/Authentication/Provider/SimpleOauthAuthenticationProviderInterface.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProviderInterface

@internal

Hierarchy

Expanded class hierarchy of SimpleOauthAuthenticationProviderInterface

All classes that implement SimpleOauthAuthenticationProviderInterface

File

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

Namespace

Drupal\simple_oauth\Authentication\Provider
View source
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);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthenticationProviderInterface::applies public function Checks whether suitable authentication credentials are on the request. 7
AuthenticationProviderInterface::authenticate public function Authenticates the user. 7
SimpleOauthAuthenticationProviderInterface::hasTokenValue public static function Gets the access token from the request. 1