summaryrefslogtreecommitdiff
path: root/framework/Web/Security/Principal/TGenericIdentity.php
blob: 037ebc42870ec3c9aee465ab9b128cfba3206af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
 * TGenericIdentity class.
 * Represents a generic user.
 *
 * @author Jason Ragsdale <jrags@jasrags.net>
 * @version $Id: TGenericIdentity.php 1398 2006-09-08 19:31:03Z xue $
 * @package System.Web.Security.Principal
 * @since 3.1
 */
Prado::using('System.Web.Security.Principal.IIdentity');
class TGenericIdentity implements IIdentity
{
	 private $_authenticationType;
     private $_isAuthenticated;
     private $_name;
     
     public function getAuthenticationType()
     {
     	return $this->_authenticationType;
     }
     public function setAuthenticationType($value)
     {
     	$this->_authenticationType = TPropertyValue::ensureString($value);
     }
     public function getIsAuthenticated()
     {
     	return $this->_isAuthenticated;
     }
     public function setIsAuthenticated($value)
     {
     	$this->_isAuthenticated = TPropertyValue::ensureBoolean($value);
     }
     public function getName()
     {
     	return $this->_name;
     }
     public function setName($value)
     {
     	$this->_name = TPropertyValue::ensureString($value);
     }
     
     public function __construct($name, $type=null)
     {
     	
     }
}
?>