diff options
Diffstat (limited to 'framework/Web/Security/Principal/IPrincipal.php')
-rw-r--r-- | framework/Web/Security/Principal/IPrincipal.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/framework/Web/Security/Principal/IPrincipal.php b/framework/Web/Security/Principal/IPrincipal.php new file mode 100644 index 00000000..9503387a --- /dev/null +++ b/framework/Web/Security/Principal/IPrincipal.php @@ -0,0 +1,19 @@ +<?php +/** + * IPrincipal interface. + * Defines the basic functionality of an identity 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 IPrincipal +{ + private $_identity; + + public function getIdentity(); + public function setIdentity($value); + public function isInRole($role); +} +?>
\ No newline at end of file |