summaryrefslogtreecommitdiff
path: root/framework/Web/Security/Principal/IIdentity.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Security/Principal/IIdentity.php')
-rw-r--r--framework/Web/Security/Principal/IIdentity.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/framework/Web/Security/Principal/IIdentity.php b/framework/Web/Security/Principal/IIdentity.php
new file mode 100644
index 00000000..89bc0f70
--- /dev/null
+++ b/framework/Web/Security/Principal/IIdentity.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * IIdentity interface.
+ * Defines the basic functionality of a principal object.
+ *
+ * @author Jason Ragsdale <jrags@jasrags.net>
+ * @version $Id: IIdentity.php 1398 2006-09-08 19:31:03Z xue $
+ * @package System.Web.Security.Principal
+ * @since 3.1
+ */
+interface IIdentity
+{
+ private $_authenticationType;
+ private $_isAuthenticated;
+ private $_name;
+
+ public function getAuthenticationType();
+ public function setAuthenticationType($value);
+ public function getIsAuthenticated();
+ public function setIsAuthenticated($value);
+ public function getName();
+ public function setName($value);
+}
+?> \ No newline at end of file