public function SimpleOauthAuthenticationProvider::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
- 8.2 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
- 8.3 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
- 5.x src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
Constructs a HTTP basic authentication provider object.
Parameters
\Drupal\simple_oauth\Server\ResourceServerInterface $resource_server: The resource server object.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\simple_oauth\PageCache\SimpleOauthRequestPolicyInterface $page_cache_request_policy: The page cache request policy.
File
- src/
Authentication/ Provider/ SimpleOauthAuthenticationProvider.php, line 44
Class
- SimpleOauthAuthenticationProvider
- @internal
Namespace
Drupal\simple_oauth\Authentication\ProviderCode
public function __construct(ResourceServerInterface $resource_server, EntityTypeManagerInterface $entity_type_manager, SimpleOauthRequestPolicyInterface $page_cache_request_policy) {
$this->resourceServer = $resource_server;
$this->entityTypeManager = $entity_type_manager;
$this->oauthPageCacheRequestPolicy = $page_cache_request_policy;
}