Constructs the SAML Response object.
public __construct ( OneLogin_Saml2_Settings $settings, string $response ) | ||
$settings | OneLogin_Saml2_Settings | Settings. |
$response | string | A UUEncoded SAML response from the IdP. |
/** * Constructor that process the SAML Response, * Internally initializes an SP SAML instance * and an OneLogin_Saml2_Response. * * @param OneLogin_Saml_Settings $oldSettings Settings * @param string $$assertion SAML Response */ public function __construct($oldSettings, $assertion) { $auth = new OneLogin_Saml2_Auth($oldSettings); $settings = $auth->getSettings(); parent::__construct($settings, $assertion); }