diff options
author | xue <> | 2007-05-14 11:40:22 +0000 |
---|---|---|
committer | xue <> | 2007-05-14 11:40:22 +0000 |
commit | 82621f4f0a7e47314222fa3b21a0745425e1248b (patch) | |
tree | 9569f0c1aa7f6a4d52743c4f568bc5c2665d5067 /framework/Web/Security/TFormsIdentity.php | |
parent | 7429863609d6c5708b4414d3619bdf152de2ea16 (diff) |
moving unfinished files to dev branch.
Diffstat (limited to 'framework/Web/Security/TFormsIdentity.php')
-rw-r--r-- | framework/Web/Security/TFormsIdentity.php | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/framework/Web/Security/TFormsIdentity.php b/framework/Web/Security/TFormsIdentity.php deleted file mode 100644 index f4d00f82..00000000 --- a/framework/Web/Security/TFormsIdentity.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/** - * TFormsIdentity class. - * Represents a user identity authenticated using forms authentication. This class cannot be inherited. - * - * @author Jason Ragsdale <jrags@jasrags.net> - * @version $Id: TFormsIdentity.php 1398 2006-09-08 19:31:03Z xue $ - * @package System.Web.Security - * @since 3.1 - */ -Prado::using('System.Web.Security.Principal.IIdentity'); -final class TFormsIdentity implements IIdentity -{ - private $_authenticationType; - private $_isAuthenticated=false; - private $_name; - private $_ticket; - - 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 getTicket() - { - return $this->_ticket; - } - public function setTicket($value) - { - $this->_ticket = TPropertyValue::ensureString($value); - } - - public function __construct() - { - - } -} -//public sealed class FormsIdentity : IIdentity -//{ -// // Methods -// public FormsIdentity(FormsAuthenticationTicket ticket); -// -// // Properties -// public string AuthenticationType { get; } -// public bool IsAuthenticated { get; } -// public string Name { get; } -// public FormsAuthenticationTicket Ticket { get; } -// -// // Fields -// private FormsAuthenticationTicket _Ticket; -//} -?>
\ No newline at end of file |