aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorDiva Canto2009-09-10 19:56:08 -0700
committerDiva Canto2009-09-10 19:56:08 -0700
commitce332f235ccc5168cfc44834e16318497c67cdd7 (patch)
tree27e0f79a50060c981dffd4dbffe5938d70cad2a3 /OpenSim/Framework
parentadded AuthorizationRequest and AuthorizationResponse objects for passing Auth... (diff)
downloadopensim-SC-ce332f235ccc5168cfc44834e16318497c67cdd7.zip
opensim-SC-ce332f235ccc5168cfc44834e16318497c67cdd7.tar.gz
opensim-SC-ce332f235ccc5168cfc44834e16318497c67cdd7.tar.bz2
opensim-SC-ce332f235ccc5168cfc44834e16318497c67cdd7.tar.xz
Changed the interface of IAuthorizationService to get less data.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/AuthorizationRequest.cs40
-rw-r--r--OpenSim/Framework/AuthorizationResponse.cs2
2 files changed, 7 insertions, 35 deletions
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
29{ 29{
30 public class AuthorizationRequest 30 public class AuthorizationRequest
31 { 31 {
32 private string m_ID; 32 private string m_userID;
33 private string m_firstname; 33 private string m_firstname;
34 private string m_surname; 34 private string m_surname;
35 private string m_email; 35 private string m_email;
@@ -40,46 +40,18 @@ namespace OpenSim.Framework
40 { 40 {
41 } 41 }
42 42
43 public AuthorizationRequest(string ID,string FirstName, string SurName, string Email, string RegionName, string RegionID) 43 public AuthorizationRequest(string ID, string RegionID)
44 { 44 {
45 m_ID = ID; 45 m_userID = ID;
46 m_firstname = FirstName;
47 m_surname = SurName;
48 m_email = Email;
49 m_regionName = RegionName;
50 m_regionID = RegionID; 46 m_regionID = RegionID;
51 } 47 }
52 48
53 public string ID 49 public string ID
54 { 50 {
55 get { return m_ID; } 51 get { return m_userID; }
56 set { m_ID = value; } 52 set { m_userID = value; }
57 } 53 }
58 54
59 public string FirstName
60 {
61 get { return m_firstname; }
62 set { m_firstname = value; }
63 }
64
65 public string SurName
66 {
67 get { return m_surname; }
68 set { m_surname = value; }
69 }
70
71 public string Email
72 {
73 get { return m_email; }
74 set { m_email = value; }
75 }
76
77 public string RegionName
78 {
79 get { return m_regionName; }
80 set { m_regionName = value; }
81 }
82
83 public string RegionID 55 public string RegionID
84 { 56 {
85 get { return m_regionID; } 57 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
36 { 36 {
37 } 37 }
38 38
39 public AuthorizationResponse(bool isAuthorized,string message) 39 public AuthorizationResponse(bool isAuthorized, string message)
40 { 40 {
41 m_isAuthorized = isAuthorized; 41 m_isAuthorized = isAuthorized;
42 m_message = message; 42 m_message = message;