public function DisallowOauth2Requests::__construct in OAuth2 Server 2.0.x
Same name and namespace in other branches
- 8 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\PageCacheCode
public function __construct(OAuth2DrupalAuthProvider $auth_provider) {
$this->authProvider = $auth_provider;
}