ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
expirywarning.php
Go to the documentation of this file.
1 <?php
2 
9 SimpleSAML\Logger::info('AuthX509 - Showing expiry warning to user');
10 
11 if (!array_key_exists('StateId', $_REQUEST)) {
12  throw new SimpleSAML_Error_BadRequest('Missing required StateId query parameter.');
13 }
14 $id = $_REQUEST['StateId'];
16 
17 
18 if (array_key_exists('proceed', $_REQUEST)) {
19  // The user has pressed the proceed-button
21 }
22 
24 
25 $t = new SimpleSAML_XHTML_Template($globalConfig, 'authX509:X509warning.php');
26 $t->data['target'] = SimpleSAML\Module::getModuleURL('authX509/expirywarning.php');
27 $t->data['data'] = array('StateId' => $id);
28 $t->data['daysleft'] = $state['daysleft'];
29 $t->data['renewurl'] = $state['renewurl'];
31 $t->show();
$state
if(!array_key_exists('StateId', $_REQUEST)) $id
if(array_key_exists('proceed', $_REQUEST)) $globalConfig
static resumeProcessing($state)
Continues processing of the state.
static getAllErrorCodeMessages()
Get a map of both errorcode titles and descriptions.
Definition: ErrorCodes.php:135
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Definition: Module.php:303
static info($string)
Definition: Logger.php:201
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition: State.php:259
Create styles array
The data for the language used.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.