You are here

interface Oauth2GrantManagerInterface in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/Oauth2GrantManagerInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantManagerInterface
  2. 8.2 src/Plugin/Oauth2GrantManagerInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantManagerInterface
  3. 5.x src/Plugin/Oauth2GrantManagerInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantManagerInterface

Hierarchy

Expanded class hierarchy of Oauth2GrantManagerInterface

All classes that implement Oauth2GrantManagerInterface

3 files declare their use of Oauth2GrantManagerInterface
Oauth2AuthorizeController.php in simple_oauth_extras/src/Controller/Oauth2AuthorizeController.php
Oauth2AuthorizeForm.php in simple_oauth_extras/src/Controller/Oauth2AuthorizeForm.php
Oauth2Token.php in src/Controller/Oauth2Token.php

File

src/Plugin/Oauth2GrantManagerInterface.php, line 5

Namespace

Drupal\simple_oauth\Plugin
View source
interface Oauth2GrantManagerInterface {

  /**
   * Gets the authorization server.
   *
   * @param string $grant_type
   *   The grant type used as plugin ID.
   *
   * @throws \League\OAuth2\Server\Exception\OAuthServerException
   *   When the grant cannot be found.
   *
   * @return \League\OAuth2\Server\AuthorizationServer
   *   The authorization server.
   */
  public function getAuthorizationServer($grant_type);

}

Members