ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
sspmod_saml_Auth_Process_AuthnContextClassRef Class Reference
+ Inheritance diagram for sspmod_saml_Auth_Process_AuthnContextClassRef:
+ Collaboration diagram for sspmod_saml_Auth_Process_AuthnContextClassRef:

Public Member Functions

 __construct ($config, $reserved)
 Initialize this filter. More...
 
 process (&$state)
 Set the AuthnContextClassRef in the SAML 2 response. More...
 
- Public Member Functions inherited from SimpleSAML_Auth_ProcessingFilter
 __construct (&$config, $reserved)
 Constructor for a processing filter. More...
 
 process (&$request)
 Process a request. More...
 

Private Attributes

 $authnContextClassRef
 

Additional Inherited Members

- Data Fields inherited from SimpleSAML_Auth_ProcessingFilter
 $priority = 50
 Priority of this filter. More...
 

Detailed Description

Definition at line 9 of file AuthnContextClassRef.php.

Constructor & Destructor Documentation

◆ __construct()

sspmod_saml_Auth_Process_AuthnContextClassRef::__construct (   $config,
  $reserved 
)

Initialize this filter.

Parameters
array$configConfiguration information about this filter.
mixed$reservedFor future use.
Exceptions
SimpleSAML_Error_Exceptionif the mandatory 'AuthnContextClassRef' option is missing.

Definition at line 28 of file AuthnContextClassRef.php.

References $config.

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  }
$config
Definition: bootstrap.php:15

Member Function Documentation

◆ process()

sspmod_saml_Auth_Process_AuthnContextClassRef::process ( $state)

Set the AuthnContextClassRef in the SAML 2 response.

Parameters
array&$stateThe state array for this request.

Definition at line 46 of file AuthnContextClassRef.php.

References $authnContextClassRef, and $state.

47  {
48  assert(is_array($state));
49 
50  $state['saml:AuthnContextClassRef'] = $this->authnContextClassRef;
51  }
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10

Field Documentation

◆ $authnContextClassRef

sspmod_saml_Auth_Process_AuthnContextClassRef::$authnContextClassRef
private

Definition at line 17 of file AuthnContextClassRef.php.

Referenced by process().


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