summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2010-08-09 08:52:33 +0000
committerOlav Morken <olav.morken@uninett.no>2010-08-09 08:52:33 +0000
commitb73e4dfec40f705bbd4f7c96052ca9dc42ec6ad0 (patch)
treea594086ec1649400d9a739f3072023322f3b462c /lib
parente5044502ce94c6cfd11373a802207f0136c2f4ac (diff)
downloadsimplesamlphp-b73e4dfec40f705bbd4f7c96052ca9dc42ec6ad0.zip
simplesamlphp-b73e4dfec40f705bbd4f7c96052ca9dc42ec6ad0.tar.gz
simplesamlphp-b73e4dfec40f705bbd4f7c96052ca9dc42ec6ad0.tar.bz2
SimpleSAML/IdP: Add getId()-method.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2501 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib')
-rw-r--r--lib/SimpleSAML/IdP.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/SimpleSAML/IdP.php b/lib/SimpleSAML/IdP.php
index 3e78719..c69e29d 100644
--- a/lib/SimpleSAML/IdP.php
+++ b/lib/SimpleSAML/IdP.php
@@ -94,6 +94,16 @@ class SimpleSAML_IdP {
/**
+ * Retrieve the ID of this IdP.
+ *
+ * @return string The ID of this IdP.
+ */
+ public function getId() {
+ return $this->id;
+ }
+
+
+ /**
* Retrieve an IdP by ID.
*
* @param string $id The identifier of the IdP.