summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Auth/Source.php
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2009-09-03 10:37:15 +0000
committerOlav Morken <olav.morken@uninett.no>2009-09-03 10:37:15 +0000
commit715844a286ee82dee55bb35ac329d224dc6d0824 (patch)
tree0f016d9657ca1990d36af29d971007ef0a528138 /lib/SimpleSAML/Auth/Source.php
parenta1d85164a7cd08098509a19cb0f4661715fc6a0f (diff)
downloadsimplesamlphp-715844a286ee82dee55bb35ac329d224dc6d0824.zip
simplesamlphp-715844a286ee82dee55bb35ac329d224dc6d0824.tar.gz
simplesamlphp-715844a286ee82dee55bb35ac329d224dc6d0824.tar.bz2
SimpleSAML_Auth_Source: Add getAuthId().
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1740 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Auth/Source.php')
-rw-r--r--lib/SimpleSAML/Auth/Source.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Auth/Source.php b/lib/SimpleSAML/Auth/Source.php
index 267c48d..6781d69 100644
--- a/lib/SimpleSAML/Auth/Source.php
+++ b/lib/SimpleSAML/Auth/Source.php
@@ -72,6 +72,17 @@ abstract class SimpleSAML_Auth_Source {
/**
+ * Retrieve the ID of this authentication source.
+ *
+ * @return string The ID of this authentication source.
+ */
+ public function getAuthId() {
+
+ return $this->authId;
+ }
+
+
+ /**
* Process a request.
*
* If an authentication source returns from this function, it is assumed to have