aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IAuthorizationService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IAuthorizationService.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Services/Interfaces/IAuthorizationService.cs b/OpenSim/Services/Interfaces/IAuthorizationService.cs
index e5c68f6..d4c697a 100644
--- a/OpenSim/Services/Interfaces/IAuthorizationService.cs
+++ b/OpenSim/Services/Interfaces/IAuthorizationService.cs
@@ -31,7 +31,7 @@ using OpenSim.Framework;
31namespace OpenSim.Services.Interfaces 31namespace OpenSim.Services.Interfaces
32{ 32{
33 // Generic Authorization service used for authorizing principals in a particular region 33 // Generic Authorization service used for authorizing principals in a particular region
34 34
35 public interface IAuthorizationService 35 public interface IAuthorizationService
36 { 36 {
37 /// <summary> 37 /// <summary>
@@ -50,7 +50,7 @@ namespace OpenSim.Services.Interfaces
50 bool IsAuthorizedForRegion( 50 bool IsAuthorizedForRegion(
51 string userID, string firstName, string lastName, string regionID, out string message); 51 string userID, string firstName, string lastName, string regionID, out string message);
52 } 52 }
53 53
54 public class AuthorizationRequest 54 public class AuthorizationRequest
55 { 55 {
56 private string m_userID; 56 private string m_userID;
@@ -69,7 +69,7 @@ namespace OpenSim.Services.Interfaces
69 m_userID = ID; 69 m_userID = ID;
70 m_regionID = RegionID; 70 m_regionID = RegionID;
71 } 71 }
72 72
73 public AuthorizationRequest( 73 public AuthorizationRequest(
74 string ID, string FirstName, string SurName, string Email, string RegionName, string RegionID) 74 string ID, string FirstName, string SurName, string Email, string RegionName, string RegionID)
75 { 75 {
@@ -80,44 +80,44 @@ namespace OpenSim.Services.Interfaces
80 m_regionName = RegionName; 80 m_regionName = RegionName;
81 m_regionID = RegionID; 81 m_regionID = RegionID;
82 } 82 }
83 83
84 public string ID 84 public string ID
85 { 85 {
86 get { return m_userID; } 86 get { return m_userID; }
87 set { m_userID = value; } 87 set { m_userID = value; }
88 } 88 }
89 89
90 public string FirstName 90 public string FirstName
91 { 91 {
92 get { return m_firstname; } 92 get { return m_firstname; }
93 set { m_firstname = value; } 93 set { m_firstname = value; }
94 } 94 }
95 95
96 public string SurName 96 public string SurName
97 { 97 {
98 get { return m_surname; } 98 get { return m_surname; }
99 set { m_surname = value; } 99 set { m_surname = value; }
100 } 100 }
101 101
102 public string Email 102 public string Email
103 { 103 {
104 get { return m_email; } 104 get { return m_email; }
105 set { m_email = value; } 105 set { m_email = value; }
106 } 106 }
107 107
108 public string RegionName 108 public string RegionName
109 { 109 {
110 get { return m_regionName; } 110 get { return m_regionName; }
111 set { m_regionName = value; } 111 set { m_regionName = value; }
112 } 112 }
113 113
114 public string RegionID 114 public string RegionID
115 { 115 {
116 get { return m_regionID; } 116 get { return m_regionID; }
117 set { m_regionID = value; } 117 set { m_regionID = value; }
118 } 118 }
119 } 119 }
120 120
121 public class AuthorizationResponse 121 public class AuthorizationResponse
122 { 122 {
123 private bool m_isAuthorized; 123 private bool m_isAuthorized;
@@ -132,13 +132,13 @@ namespace OpenSim.Services.Interfaces
132 m_isAuthorized = isAuthorized; 132 m_isAuthorized = isAuthorized;
133 m_message = message; 133 m_message = message;
134 } 134 }
135 135
136 public bool IsAuthorized 136 public bool IsAuthorized
137 { 137 {
138 get { return m_isAuthorized; } 138 get { return m_isAuthorized; }
139 set { m_isAuthorized = value; } 139 set { m_isAuthorized = value; }
140 } 140 }
141 141
142 public string Message 142 public string Message
143 { 143 {
144 get { return m_message; } 144 get { return m_message; }