From ce332f235ccc5168cfc44834e16318497c67cdd7 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 10 Sep 2009 19:56:08 -0700 Subject: Changed the interface of IAuthorizationService to get less data. --- OpenSim/Framework/AuthorizationRequest.cs | 40 +++++------------------------- OpenSim/Framework/AuthorizationResponse.cs | 2 +- 2 files changed, 7 insertions(+), 35 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/AuthorizationRequest.cs b/OpenSim/Framework/AuthorizationRequest.cs index 864d87d..3280c65 100644 --- a/OpenSim/Framework/AuthorizationRequest.cs +++ b/OpenSim/Framework/AuthorizationRequest.cs @@ -29,7 +29,7 @@ namespace OpenSim.Framework { public class AuthorizationRequest { - private string m_ID; + private string m_userID; private string m_firstname; private string m_surname; private string m_email; @@ -40,46 +40,18 @@ namespace OpenSim.Framework { } - public AuthorizationRequest(string ID,string FirstName, string SurName, string Email, string RegionName, string RegionID) + public AuthorizationRequest(string ID, string RegionID) { - m_ID = ID; - m_firstname = FirstName; - m_surname = SurName; - m_email = Email; - m_regionName = RegionName; + m_userID = ID; m_regionID = RegionID; } public string ID { - get { return m_ID; } - set { m_ID = value; } + get { return m_userID; } + set { m_userID = value; } } - - public string FirstName - { - get { return m_firstname; } - set { m_firstname = value; } - } - - public string SurName - { - get { return m_surname; } - set { m_surname = value; } - } - - public string Email - { - get { return m_email; } - set { m_email = value; } - } - - public string RegionName - { - get { return m_regionName; } - set { m_regionName = value; } - } - + public string RegionID { get { return m_regionID; } diff --git a/OpenSim/Framework/AuthorizationResponse.cs b/OpenSim/Framework/AuthorizationResponse.cs index 5a03dfe..c8d77de 100644 --- a/OpenSim/Framework/AuthorizationResponse.cs +++ b/OpenSim/Framework/AuthorizationResponse.cs @@ -36,7 +36,7 @@ namespace OpenSim.Framework { } - public AuthorizationResponse(bool isAuthorized,string message) + public AuthorizationResponse(bool isAuthorized, string message) { m_isAuthorized = isAuthorized; m_message = message; -- cgit v1.1