You are here

ResourceServerInterface.php in Simple OAuth (OAuth2) & OpenID Connect 8.2

File

src/Server/ResourceServerInterface.php
View source
<?php

namespace Drupal\simple_oauth\Server;

use Symfony\Component\HttpFoundation\Request;
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);

}

Interfaces