You are here

interface ResourceServerInterface in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same name and namespace in other branches
  1. 8.4 src/Server/ResourceServerInterface.php \Drupal\simple_oauth\Server\ResourceServerInterface
  2. 8.2 src/Server/ResourceServerInterface.php \Drupal\simple_oauth\Server\ResourceServerInterface
  3. 8.3 src/Server/ResourceServerInterface.php \Drupal\simple_oauth\Server\ResourceServerInterface

Hierarchy

Expanded class hierarchy of ResourceServerInterface

All classes that implement ResourceServerInterface

2 files declare their use of ResourceServerInterface
SimpleOauthAuthenticationProvider.php in src/Authentication/Provider/SimpleOauthAuthenticationProvider.php
SimpleOauthAuthenticationTest.php in tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php

File

src/Server/ResourceServerInterface.php, line 7

Namespace

Drupal\simple_oauth\Server
View source
interface ResourceServerInterface {

  /**
   * Determine the access token validity.
   *
   * @param \Symfony\Component\HttpFoundation\Request $request
   *   The request object.
   *
   * @throws \League\OAuth2\Server\Exception\OAuthServerException
   *
   * @return \Symfony\Component\HttpFoundation\Request
   *   The request object augmented with the token information.
   */
  public function validateAuthenticatedRequest(Request $request);

}

Members

Namesort descending Modifiers Type Description Overrides
ResourceServerInterface::validateAuthenticatedRequest public function Determine the access token validity. 1