You are here

protected property CasRedirectData::$cacheContexts in CAS 8

Same name and namespace in other branches
  1. 2.x src/CasRedirectData.php \Drupal\cas\CasRedirectData::cacheContexts

Cache contexts to apply to cacheable redirect responses.

We need to vary the redirect response based on the URL because: 1. The site domain is included in the service parameter in the redirect. 2. Paramters on the URL are passed along as query params to the service URL as well.

Type: array

File

src/CasRedirectData.php, line 55

Class

CasRedirectData
Class CasRedirectData.

Namespace

Drupal\cas

Code

protected $cacheContexts = [
  'url',
];