ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilWACSignedPath Class Reference

Class ilWACSignedPath. More...

+ Collaboration diagram for ilWACSignedPath:

Public Member Functions

 __construct (ilWACPath $ilWACPath, GlobalHttpState $httpState, CookieFactory $cookieFactory)
 ilWACSignedPath constructor. More...
 
 getSignedPath ()
 
 isFolderSigned ()
 
 isFolderTokenValid ()
 
 revalidatingFolderToken ()
 
 isSignedPath ()
 
 isSignedPathValid ()
 
 getTokenInstance ()
 
 setTokenInstance (ilWACToken $token_instance)
 
 getType ()
 
 setType ($type)
 
 getPathObject ()
 
 setPathObject (ilWACPath $path_object)
 
 buildAndSetTokenInstance ($timestamp=0, $ttl=0)
 
 isChecked ()
 
 setChecked ($checked)
 

Static Public Member Functions

static signFile ($path_to_file)
 
static signFolderOfStartFile ($start_file_path)
 
static getTokenMaxLifetimeInSeconds ()
 
static setTokenMaxLifetimeInSeconds ($token_max_lifetime_in_seconds)
 
static getCookieMaxLifetimeInSeconds ()
 
static setCookieMaxLifetimeInSeconds ($cookie_max_lifetime_in_seconds)
 

Data Fields

const WAC_TOKEN_ID = 'il_wac_token'
 
const WAC_TIMESTAMP_ID = 'il_wac_ts'
 
const WAC_TTL_ID = 'il_wac_ttl'
 
const TS_SUFFIX = 'ts'
 
const TTL_SUFFIX = 'ttl'
 
const MAX_LIFETIME = 600
 

Protected Member Functions

 saveFolderToken ()
 
 checkToken ()
 
 buildTokenInstance ($timestamp=0, $ttl=0)
 
 getRelevantLifeTime ()
 

Protected Attributes

 $path_object = null
 
 $token_instance = null
 
 $type = PathType::FILE
 
 $checked = false
 

Static Protected Attributes

static $token_max_lifetime_in_seconds = 3
 
static $cookie_max_lifetime_in_seconds = 300
 

Private Attributes

 $httpService
 
 $cookieFactory
 

Detailed Description

Class ilWACSignedPath.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 22 of file class.ilWACSignedPath.php.

Constructor & Destructor Documentation

◆ __construct()

ilWACSignedPath::__construct ( ilWACPath  $ilWACPath,
GlobalHttpState  $httpState,
CookieFactory  $cookieFactory 
)

ilWACSignedPath constructor.

Parameters
\ilWACPath$ilWACPath
GlobalHttpState$httpState
CookieFactory$cookieFactory

Definition at line 72 of file class.ilWACSignedPath.php.

References $cookieFactory, and setPathObject().

73  {
74  $this->setPathObject($ilWACPath);
75  $this->httpService = $httpState;
76  $this->cookieFactory = $cookieFactory;
77  }
setPathObject(ilWACPath $path_object)
+ Here is the call graph for this function:

Member Function Documentation

◆ buildAndSetTokenInstance()

ilWACSignedPath::buildAndSetTokenInstance (   $timestamp = 0,
  $ttl = 0 
)
Parameters
int$timestamp
int$ttl
Returns
void
Exceptions

Definition at line 414 of file class.ilWACSignedPath.php.

References $timestamp, buildTokenInstance(), and setTokenInstance().

Referenced by isFolderSigned(), isSignedPathValid(), and revalidatingFolderToken().

415  {
416  assert(is_int($timestamp));
417  assert(is_int($ttl));
418 
419  $this->setTokenInstance($this->buildTokenInstance($timestamp, $ttl));
420  }
buildTokenInstance($timestamp=0, $ttl=0)
setTokenInstance(ilWACToken $token_instance)
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildTokenInstance()

ilWACSignedPath::buildTokenInstance (   $timestamp = 0,
  $ttl = 0 
)
protected
Parameters
int$timestamp
int$ttl
Returns
ilWACToken
Exceptions
ilWACException

Definition at line 379 of file class.ilWACSignedPath.php.

References $client, $path, $timestamp, ilWACException\CODE_NO_TYPE, getPathObject(), and getType().

Referenced by buildAndSetTokenInstance(), checkToken(), and isFolderSigned().

380  {
381  assert(is_int($timestamp));
382  assert(is_int($ttl));
383  if (!$this->getType()) {
385  }
386 
387  switch ($this->getType()) {
388  case PathType::FOLDER:
389  $path = $this->getPathObject()->getModulePath();
390  break;
391  case PathType::FILE:
392  $path = $this->getPathObject()->getPathWithoutQuery();
393  break;
394  default:
395  $path = $this->getPathObject()->getPathWithoutQuery();
396  break;
397  }
398 
399  $client = $this->getPathObject()->getClient();
400  $timestamp = $timestamp ? $timestamp : $this->getPathObject()->getTimestamp();
401  $ttl = $ttl ? $ttl : $this->getPathObject()->getTTL();
402 
403  return new ilWACToken($path, $client, $timestamp, $ttl);
404  }
$path
Definition: aliased.php:25
Class ilWACException.
if($_SERVER['argc']< 4) $client
Definition: cron.php:12
Class ilWACToken.
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkToken()

ilWACSignedPath::checkToken ( )
protected
Returns
bool
Exceptions

Definition at line 344 of file class.ilWACSignedPath.php.

References buildTokenInstance(), getPathObject(), and setChecked().

Referenced by isFolderTokenValid(), and isSignedPathValid().

345  {
346  $request_token = $this->getPathObject()->getToken();
347  $request_ttl = $this->getPathObject()->getTTL();
348  $request_timestamp = $this->getPathObject()->getTimestamp();
349  $current_timestamp = time();
350 
351  $timestamp_valid = ($current_timestamp < ($request_timestamp + $request_ttl));
352 
353  if (!$timestamp_valid) {
354  $this->setChecked(true);
355 
356  return false;
357  }
358 
359  $simulatedTokenInstance = $this->buildTokenInstance($request_timestamp, $request_ttl);
360  $token_valid = ($simulatedTokenInstance->getToken() == $request_token);
361 
362  if (!$token_valid) {
363  $this->setChecked(true);
364 
365  return false;
366  }
367 
368  return true;
369  }
buildTokenInstance($timestamp=0, $ttl=0)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCookieMaxLifetimeInSeconds()

static ilWACSignedPath::getCookieMaxLifetimeInSeconds ( )
static
Returns
int

Definition at line 451 of file class.ilWACSignedPath.php.

Referenced by ilObjSCORMInitData\getIliasScormVars(), and ilSCORM13Player\getPlayer().

452  {
453  return self::$cookie_max_lifetime_in_seconds;
454  }
+ Here is the caller graph for this function:

◆ getPathObject()

ilWACSignedPath::getPathObject ( )
Returns
ilWACPath

Definition at line 324 of file class.ilWACSignedPath.php.

References $path_object.

Referenced by buildTokenInstance(), checkToken(), getRelevantLifeTime(), getSignedPath(), isFolderSigned(), isSignedPath(), and isSignedPathValid().

325  {
326  return $this->path_object;
327  }
+ Here is the caller graph for this function:

◆ getRelevantLifeTime()

ilWACSignedPath::getRelevantLifeTime ( )
protected
Returns
int

Definition at line 477 of file class.ilWACSignedPath.php.

References getPathObject(), and getType().

478  {
479  $request_ttl = $this->getPathObject()->getTTL();
480  if ($request_ttl > 0) {
481  return $request_ttl;
482  }
483  switch ($this->getType()) {
484  case PathType::FOLDER:
485  $life_time = self::getCookieMaxLifetimeInSeconds();
486  break;
487  case PathType::FILE:
488  $life_time = self::getTokenMaxLifetimeInSeconds();
489  break;
490  default:
491  $life_time = 0;
492  break;
493  }
494 
495  return $life_time;
496  }
+ Here is the call graph for this function:

◆ getSignedPath()

ilWACSignedPath::getSignedPath ( )
Returns
string
Exceptions
ilWACException

Definition at line 84 of file class.ilWACSignedPath.php.

References $path, getPathObject(), getTokenInstance(), getType(), and ilWACException\WRONG_PATH_TYPE.

85  {
86  if ($this->getType() !== PathType::FILE) {
88  }
89  if (!$this->getPathObject()->getOriginalRequest()) {
90  return '';
91  }
92  if (!$this->getPathObject()->fileExists()) {
93  // return $this->getPathObject()->getOriginalRequest();
94  }
95 
96  if (strpos($this->getPathObject()->getPath(), '?')) {
97  $path = $this->getPathObject()->getPath() . '&' . self::WAC_TOKEN_ID . '='
98  . $this->getTokenInstance()->getToken();
99  } else {
100  $path = $this->getPathObject()->getPath() . '?' . self::WAC_TOKEN_ID . '='
101  . $this->getTokenInstance()->getToken();
102  }
103 
104  $path = $path . '&' . self::WAC_TTL_ID . '=' . $this->getTokenInstance()->getTTL();
105  $path = $path . '&' . self::WAC_TIMESTAMP_ID . '='
106  . $this->getTokenInstance()->getTimestamp();
107 
108  return $path;
109  }
$path
Definition: aliased.php:25
Class ilWACException.
+ Here is the call graph for this function:

◆ getTokenInstance()

ilWACSignedPath::getTokenInstance ( )
Returns
ilWACToken

Definition at line 285 of file class.ilWACSignedPath.php.

References $token_instance.

Referenced by getSignedPath(), and saveFolderToken().

286  {
287  return $this->token_instance;
288  }
+ Here is the caller graph for this function:

◆ getTokenMaxLifetimeInSeconds()

static ilWACSignedPath::getTokenMaxLifetimeInSeconds ( )
static
Returns
int

Definition at line 426 of file class.ilWACSignedPath.php.

Referenced by ilWACToken\__construct(), ilOnScreenChatUserDataProvider\getDataByUserIds(), and ilWACTokenTest\testFileToken().

427  {
428  return self::$token_max_lifetime_in_seconds;
429  }
+ Here is the caller graph for this function:

◆ getType()

ilWACSignedPath::getType ( )
Returns
int

Definition at line 304 of file class.ilWACSignedPath.php.

References $type.

Referenced by buildTokenInstance(), getRelevantLifeTime(), getSignedPath(), and revalidatingFolderToken().

305  {
306  return (int) $this->type;
307  }
+ Here is the caller graph for this function:

◆ isChecked()

ilWACSignedPath::isChecked ( )
Returns
bool

Definition at line 502 of file class.ilWACSignedPath.php.

References $checked.

503  {
504  return (bool) $this->checked;
505  }

◆ isFolderSigned()

ilWACSignedPath::isFolderSigned ( )
Returns
bool

Definition at line 115 of file class.ilWACSignedPath.php.

References $name, $timestamp, buildAndSetTokenInstance(), buildTokenInstance(), getPathObject(), and setType().

Referenced by isFolderTokenValid().

116  {
117  $jar = $this->httpService->cookieJar();
118  $cookies = $jar->getAll();
119 
120  $this->setType(PathType::FOLDER);
121  $timestamp = time();
122  $plain_token = $this->buildTokenInstance($timestamp, self::getCookieMaxLifetimeInSeconds());
123  $name = $plain_token->getHashedId();
124 
125  // Token
126  $default_token = '';
127  $token_cookie_value = $this->httpService->request()->getCookieParams()[$name] ?? $default_token;
128  // Timestamp
129  $default_timestamp = 0;
130  $timestamp_cookie_value = $this->httpService->request()->getCookieParams()[$name . self::TS_SUFFIX] ?? $default_timestamp;
131  $timestamp_cookie_value = intval($timestamp_cookie_value);
132  // TTL
133  $default_ttl = 0;
134  $ttl_cookie_value = $this->httpService->request()->getCookieParams()[$name . self::TTL_SUFFIX] ?? $default_ttl;
135  $ttl_cookie_value = intval($ttl_cookie_value);
136 
137  $this->getPathObject()->setToken($token_cookie_value);
138  $this->getPathObject()->setTimestamp($timestamp_cookie_value);
139  $this->getPathObject()->setTTL($ttl_cookie_value);
140  $this->buildAndSetTokenInstance($timestamp, self::getCookieMaxLifetimeInSeconds());
141 
142  return $this->getPathObject()->hasToken();
143  }
buildTokenInstance($timestamp=0, $ttl=0)
buildAndSetTokenInstance($timestamp=0, $ttl=0)
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isFolderTokenValid()

ilWACSignedPath::isFolderTokenValid ( )
Returns
bool
Exceptions
ilWACException

Definition at line 150 of file class.ilWACSignedPath.php.

References checkToken(), and isFolderSigned().

151  {
152  if (!$this->isFolderSigned()) {
153  return false;
154  }
155 
156  return $this->checkToken();
157  }
+ Here is the call graph for this function:

◆ isSignedPath()

ilWACSignedPath::isSignedPath ( )
Returns
bool

Definition at line 226 of file class.ilWACSignedPath.php.

References getPathObject().

227  {
228  return ($this->getPathObject()->hasToken() && $this->getPathObject()->hasTimestamp()
229  && $this->getPathObject()->hasTTL());
230  }
+ Here is the call graph for this function:

◆ isSignedPathValid()

ilWACSignedPath::isSignedPathValid ( )
Returns
bool
Exceptions
ilWACException

Definition at line 237 of file class.ilWACSignedPath.php.

References buildAndSetTokenInstance(), checkToken(), and getPathObject().

238  {
239  $this->buildAndSetTokenInstance($this->getPathObject()->getTimestamp(), $this->getPathObject()->getTTL());
240 
241  return $this->checkToken();
242  }
buildAndSetTokenInstance($timestamp=0, $ttl=0)
+ Here is the call graph for this function:

◆ revalidatingFolderToken()

ilWACSignedPath::revalidatingFolderToken ( )
Returns
bool

Definition at line 211 of file class.ilWACSignedPath.php.

References buildAndSetTokenInstance(), getType(), and saveFolderToken().

212  {
213  if ($this->getType() !== PathType::FOLDER) {
214  return false;
215  }
216  $this->buildAndSetTokenInstance(time(), self::getCookieMaxLifetimeInSeconds());
217  $this->saveFolderToken();
218 
219  return true;
220  }
buildAndSetTokenInstance($timestamp=0, $ttl=0)
+ Here is the call graph for this function:

◆ saveFolderToken()

ilWACSignedPath::saveFolderToken ( )
protected
Returns
void

Definition at line 163 of file class.ilWACSignedPath.php.

References $domain, $expire, $id, $path, $response, and getTokenInstance().

Referenced by revalidatingFolderToken().

164  {
165  $cookie_lifetime = self::getCookieMaxLifetimeInSeconds();
166  $id = $this->getTokenInstance()->getHashedId();
167  $expire = time() + $cookie_lifetime + 3600;
168  $secure = true;
169  $domain = null;
170  $http_only = true;
171  $path = '/';
172 
173  $tokenCookie = $this->cookieFactory->create($id, $this->getTokenInstance()->getToken())
174  ->withExpires($expire)
175  ->withPath($path)
176  ->withSecure($secure)
177  ->withDomain($domain)
178  ->withHttpOnly($http_only);
179 
180  $timestampCookie = $this->cookieFactory->create($id . self::TS_SUFFIX, time())
181  ->withExpires($expire)
182  ->withPath($path)
183  ->withDomain($domain)
184  ->withSecure($secure)
185  ->withHttpOnly($http_only);
186 
187  $ttlCookie = $this->cookieFactory->create($id . self::TTL_SUFFIX, $cookie_lifetime)
188  ->withExpires($expire)
189  ->withPath($path)
190  ->withDomain($domain)
191  ->withSecure($secure)
192  ->withHttpOnly($http_only);
193 
194  $response = $this->httpService->cookieJar()->with($tokenCookie)
195  ->with($timestampCookie)
196  ->with($ttlCookie)
197  ->renderIntoResponseHeader($this->httpService->response());
198 
199  // FIX: currently the cookies are never stored
200  foreach ($this->httpService->cookieJar()->getAll() as $cookie) {
201  setcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpires(), $cookie->getPath(), $cookie->getDomain(), $cookie->getSecure(), $cookie->getHttpOnly());
202  }
203 
204  $this->httpService->saveResponse($response);
205  }
$expire
Definition: saml2-acs.php:140
$path
Definition: aliased.php:25
if(!array_key_exists('StateId', $_REQUEST)) $id
if(!array_key_exists('domain', $_REQUEST)) $domain
Definition: resume.php:8
$response
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setChecked()

ilWACSignedPath::setChecked (   $checked)
Parameters
bool$checked
Returns
void

Definition at line 512 of file class.ilWACSignedPath.php.

References $checked.

Referenced by checkToken().

513  {
514  assert(is_bool($checked));
515  $this->checked = $checked;
516  }
+ Here is the caller graph for this function:

◆ setCookieMaxLifetimeInSeconds()

static ilWACSignedPath::setCookieMaxLifetimeInSeconds (   $cookie_max_lifetime_in_seconds)
static
Parameters
int$cookie_max_lifetime_in_seconds
Returns
void
Exceptions

Definition at line 464 of file class.ilWACSignedPath.php.

References $cookie_max_lifetime_in_seconds, and ilWACException\MAX_LIFETIME.

465  {
466  assert(is_int($cookie_max_lifetime_in_seconds));
467  if ($cookie_max_lifetime_in_seconds > self::MAX_LIFETIME) {
469  }
470  self::$cookie_max_lifetime_in_seconds = $cookie_max_lifetime_in_seconds;
471  }
Class ilWACException.
static $cookie_max_lifetime_in_seconds

◆ setPathObject()

ilWACSignedPath::setPathObject ( ilWACPath  $path_object)
Parameters
ilWACPath$path_object
Returns
void

Definition at line 334 of file class.ilWACSignedPath.php.

References $path_object.

Referenced by __construct().

335  {
336  $this->path_object = $path_object;
337  }
+ Here is the caller graph for this function:

◆ setTokenInstance()

ilWACSignedPath::setTokenInstance ( ilWACToken  $token_instance)
Parameters
ilWACToken$token_instance
Returns
void

Definition at line 295 of file class.ilWACSignedPath.php.

References $token_instance.

Referenced by buildAndSetTokenInstance().

296  {
297  $this->token_instance = $token_instance;
298  }
+ Here is the caller graph for this function:

◆ setTokenMaxLifetimeInSeconds()

static ilWACSignedPath::setTokenMaxLifetimeInSeconds (   $token_max_lifetime_in_seconds)
static

◆ setType()

ilWACSignedPath::setType (   $type)
Parameters
int$type
Returns
void

Definition at line 314 of file class.ilWACSignedPath.php.

References $type.

Referenced by isFolderSigned().

315  {
316  assert(is_int($type));
317  $this->type = $type;
318  }
+ Here is the caller graph for this function:

◆ signFile()

static ilWACSignedPath::signFile (   $path_to_file)
static
Parameters
string$path_to_file
Returns
string
Exceptions
ilWACException

Definition at line 252 of file class.ilWACSignedPath.php.

References ILIAS\FileDelivery\http().

Referenced by ilRTE\_replaceMediaObjectImageSrc(), ilCertificateSettingsFormRepository\createForm(), ilMediaCastTableGUI\fillRow(), ilPollBlockGUI\fillRow(), ilObjStyleSheet\getContentStylePath(), ilPublicUserProfileGUI\getEmbeddable(), ilDclMobRecordRepresentation\getHTML(), ilBadgeRenderer\getHTML(), ilWACTokenTest\getModifiedSignedPath(), ilObjUser\getPersonalPicturePath(), assImagemapQuestionGUI\getPreview(), ilPreviewGUI\getPreviewHTML(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assQuestion\getSuggestedSolutionOutput(), assImagemapQuestionGUI\getTestOutput(), ilObjMediaObject\getXML(), ilUserCertificateGUI\listCertificates(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilObjCertificateSettingsGUI\settings(), ilObjMediaCastGUI\showGallery(), ilWACCheckingInstanceTest\testBasicWithFileSigning(), and ilWACTokenTest\testFileToken().

253  {
254  if (!$path_to_file) {
255  return '';
256  }
257  $ilWACPath = new ilWACPath($path_to_file);
258  if (!$ilWACPath->getClient()) {
259  return $path_to_file;
260  }
261  $obj = new self($ilWACPath, self::http(), new CookieFactoryImpl());
262  $obj->setType(PathType::FILE);
263  $obj->buildAndSetTokenInstance(time(), self::getTokenMaxLifetimeInSeconds());
264 
265  return $obj->getSignedPath();
266  }
Class ilWACPath.
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ signFolderOfStartFile()

static ilWACSignedPath::signFolderOfStartFile (   $start_file_path)
static
Parameters
string$start_file_path
Returns
void

Definition at line 273 of file class.ilWACSignedPath.php.

References ILIAS\FileDelivery\http().

Referenced by ilSCORMPresentationGUI\frameset(), ilSCORM13Player\getPlayer(), ilSCORM13Player\pingSession(), ilSCORMPresentationGUI\pingSession(), ilObjMediaCastGUI\showGallery(), ilObjFileBasedLMGUI\showLearningModule(), ilWACCheckingInstanceTest\testBasicWithFolderSigning(), and ilWACTokenTest\testCookieGeneration().

274  {
275  $obj = new self(new ilWACPath($start_file_path), self::http(), new CookieFactoryImpl());
276  $obj->setType(PathType::FOLDER);
277  $obj->buildAndSetTokenInstance(time(), self::getCookieMaxLifetimeInSeconds());
278  $obj->saveFolderToken();
279  }
Class ilWACPath.
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $checked

ilWACSignedPath::$checked = false
protected

Definition at line 54 of file class.ilWACSignedPath.php.

Referenced by isChecked(), and setChecked().

◆ $cookie_max_lifetime_in_seconds

ilWACSignedPath::$cookie_max_lifetime_in_seconds = 300
staticprotected

Definition at line 50 of file class.ilWACSignedPath.php.

Referenced by setCookieMaxLifetimeInSeconds().

◆ $cookieFactory

CookieFactory ilWACSignedPath::$cookieFactory
private

Definition at line 62 of file class.ilWACSignedPath.php.

Referenced by __construct().

◆ $httpService

ILIAS DI HTTPServices ilWACSignedPath::$httpService
private

Definition at line 58 of file class.ilWACSignedPath.php.

◆ $path_object

ilWACSignedPath::$path_object = null
protected

Definition at line 34 of file class.ilWACSignedPath.php.

Referenced by getPathObject(), and setPathObject().

◆ $token_instance

ilWACSignedPath::$token_instance = null
protected

Definition at line 38 of file class.ilWACSignedPath.php.

Referenced by getTokenInstance(), and setTokenInstance().

◆ $token_max_lifetime_in_seconds

ilWACSignedPath::$token_max_lifetime_in_seconds = 3
staticprotected

Definition at line 46 of file class.ilWACSignedPath.php.

Referenced by setTokenMaxLifetimeInSeconds().

◆ $type

ilWACSignedPath::$type = PathType::FILE
protected

Definition at line 42 of file class.ilWACSignedPath.php.

Referenced by getType(), and setType().

◆ MAX_LIFETIME

const ilWACSignedPath::MAX_LIFETIME = 600

Definition at line 30 of file class.ilWACSignedPath.php.

◆ TS_SUFFIX

const ilWACSignedPath::TS_SUFFIX = 'ts'

Definition at line 28 of file class.ilWACSignedPath.php.

◆ TTL_SUFFIX

const ilWACSignedPath::TTL_SUFFIX = 'ttl'

Definition at line 29 of file class.ilWACSignedPath.php.

◆ WAC_TIMESTAMP_ID

const ilWACSignedPath::WAC_TIMESTAMP_ID = 'il_wac_ts'

Definition at line 26 of file class.ilWACSignedPath.php.

Referenced by ilWACPath\handleParameters(), and ilWACPath\setTimestamp().

◆ WAC_TOKEN_ID

const ilWACSignedPath::WAC_TOKEN_ID = 'il_wac_token'

Definition at line 25 of file class.ilWACSignedPath.php.

Referenced by ilWACPath\handleParameters(), and ilWACPath\setToken().

◆ WAC_TTL_ID

const ilWACSignedPath::WAC_TTL_ID = 'il_wac_ttl'

Definition at line 27 of file class.ilWACSignedPath.php.

Referenced by ilWACPath\handleParameters(), and ilWACPath\setTTL().


The documentation for this class was generated from the following file: