You are here

public function DisallowOauth2Requests::__construct in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/PageCache/DisallowOauth2Requests.php \Drupal\oauth2_server\PageCache\DisallowOauth2Requests::__construct()

DisallowOauth2Requests constructor.

Parameters

\Drupal\oauth2_server\Authentication\Provider\OAuth2DrupalAuthProvider $auth_provider: The authentication provider.

File

src/PageCache/DisallowOauth2Requests.php, line 28

Class

DisallowOauth2Requests
Class Disallow Oauth2 Requests.

Namespace

Drupal\oauth2_server\PageCache

Code

public function __construct(OAuth2DrupalAuthProvider $auth_provider) {
  $this->authProvider = $auth_provider;
}