summaryrefslogtreecommitdiff
path: root/framework/Web/Security/Principal/IPrincipal.php
blob: 9503387a654bae4c1b5aa2170dc5c4422fb51d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}
?>