HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/LHouwen/dokuwiki.logic.nl/wwwroot/lib/plugins/adfs/phpsaml/lib/Saml/Response.php
<?php

class OneLogin_Saml_Response extends OneLogin_Saml2_Response
{
    /**
     * Constructor that process the SAML Response,
     * Internally initializes an SP SAML instance
     * and an OneLogin_Saml2_Response.
     *
     * @param array|object $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);
    }

    /**
     * Retrieves an Array with the logged user data.
     *
     * @return array
     */
    public function get_saml_attributes()
    {
        return $this->getAttributes();
    }

    /**
     * Retrieves the nameId
     *
     * @return string
     */
    public function get_nameid()
    {
        return $this->getNameId();
    }
}