OneLogin_Saml_Response::__construct PHP Method

__construct() public method

Constructor that process the SAML Response, Internally initializes an SP SAML instance and an OneLogin_Saml2_Response.
public __construct ( array | object $oldSettings, string $assertion )
$oldSettings array | object Settings
$assertion string SAML Response
    public function __construct($oldSettings, $assertion)
    {
        $auth = new OneLogin_Saml2_Auth($oldSettings);
        $settings = $auth->getSettings();
        parent::__construct($settings, $assertion);
    }