protected function getFederatedAuthenticationInformation($response) {
        if ($response) {
            $xml = new \DOMDocument();
            $xml->loadXML($response);
            $xpath = new \DOMXPath($xml);
            if ($xpath->query("//STSAuthURL")->length > 0) {
                return $xpath->query("//STSAuthURL")->item(0);
            }
        }
        return '';
    }
protected function getFederatedAuthenticationInformation($response) {
        if ($response) {
            $xml = new \DOMDocument();
            $xml->loadXML($response);
            $xpath = new \DOMXPath($xml);
            if ($xpath->query("//STSAuthURL")->length > 0) {
                return $xpath->query("//STSAuthURL")->item(0);
            }
        }
        return '';
    }
protected function getFederatedAuthenticationInformation ( $ response ) { if ( $ response ) { $ xml = new \ DOMDocument ( ) ; $ xml -> loadXML ( $ response ) ; $ xpath = new \ DOMXPath ( $ xml ) ; if ( $ xpath -> query ( "//STSAuthURL" ) -> length > 0 ) { return $ xpath -> query ( "//STSAuthURL" ) -> item ( 0 ) ; } } return '' ; }
Retrieves the STS federated URL if any.
@param $response
@return string Federated STS Url
Retrieves the STS federated URL if any .