ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
AuthnContextClassRef.php
Go to the documentation of this file.
1<?php
2
3
10{
11
18
19
28 public function __construct($config, $reserved)
29 {
30 parent::__construct($config, $reserved);
31 assert('is_array($config)');
32
33 if (!isset($config['AuthnContextClassRef'])) {
34 throw new SimpleSAML_Error_Exception('Missing AuthnContextClassRef option in processing filter.');
35 }
36
37 $this->authnContextClassRef = (string) $config['AuthnContextClassRef'];
38 }
39
40
46 public function process(&$state)
47 {
48 assert('is_array($state)');
49
50 $state['saml:AuthnContextClassRef'] = $this->authnContextClassRef;
51 }
52}
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
An exception for terminatinating execution or to throw for unit testing.
process(&$state)
Set the AuthnContextClassRef in the SAML 2 response.
__construct($config, $reserved)
Initialize this filter.