You are here

public function DisallowKeyAuthRequests::__construct in Key auth 8

Constructs a key authentication page cache policy.

Parameters

\Drupal\key_auth\KeyAuthInterface $key_auth: The key auth service..

File

src/PageCache/DisallowKeyAuthRequests.php, line 31

Class

DisallowKeyAuthRequests
Cache policy for pages served from key auth.

Namespace

Drupal\key_auth\PageCache

Code

public function __construct(KeyAuthInterface $key_auth) {
  $this->keyAuth = $key_auth;
}