From 373a685021efad780837f627705f43635fd32a8b Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 19 Aug 2009 11:07:10 +0000
Subject: [PATCH] SimpleSAML_XML_AuthnResponse: Remove unused class.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1698 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XML/AuthnResponse.php | 82 ----------------------------
 1 file changed, 82 deletions(-)
 delete mode 100644 lib/SimpleSAML/XML/AuthnResponse.php

diff --git a/lib/SimpleSAML/XML/AuthnResponse.php b/lib/SimpleSAML/XML/AuthnResponse.php
deleted file mode 100644
index 70e940041..000000000
--- a/lib/SimpleSAML/XML/AuthnResponse.php
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
- 
-/**
- * Abstract class of an Authentication response
- *
- * @author Andreas Ĺkre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
- * @package simpleSAMLphp
- * @version $Id$
- * @abstract
- */
- abstract class SimpleSAML_XML_AuthnResponse {
-
-	private $configuration = null;
-	private $metadata = 'default.php';
-	
-	private $message = null;
-	private $dom;
-	private $relayState = null;
-	
-	private $validIDs = null;
-	
-	const PROTOCOL = 'urn:oasis:names:tc:SAML:2.0';
-
-	function __construct(SimpleSAML_Configuration $configuration, SimpleSAML_Metadata_MetaDataStorageHandler $metadatastore) {
-		$this->configuration = $configuration;
-		$this->metadata = $metadatastore;
-	}
-	
-	
-	abstract public function validate();
-
-	abstract public function createSession();
-
-	
-	
-	abstract public function getAttributes();
-
-	
-	abstract public function getIssuer();
-	
-	abstract public function getNameID();
-	
-	
-	public function setXML($xml) {
-		$this->message = $xml;
-	}
-	
-	public function getXML() {
-		return $this->message;
-	}
-	
-	public function setRelayState($relayState) {
-		$this->relayState = $relayState;
-	}
-	
-	public function getRelayState() {
-		return $this->relayState;
-	}
-	
-	public function getDOM() {
-		if (isset($this->message) ) {
-			
-			if (isset($this->dom)) {
-				return $this->dom;
-			}
-		
-			$token = new DOMDocument();
-			$token->loadXML(str_replace ("\r", "", $this->message));
-			if (empty($token)) {
-				throw new Exception("Unable to load token");
-			}
-			$this->dom = $token;
-			return $this->dom;
-		
-		} 
-		
-		return null;
-	}
-
-}
-
-?>
\ No newline at end of file
-- 
GitLab