aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IGridService.cs
diff options
context:
space:
mode:
authorMelanie2010-01-15 21:57:31 +0000
committerMelanie2010-01-15 21:57:31 +0000
commit686660650b4f5724fc0b4858d50ff4deeafb8ffe (patch)
tree95b0ac4ee95239d6443f8e11e79bd7d60ed5e35a /OpenSim/Services/Interfaces/IGridService.cs
parentImplement "Reservation" flag behavior. (diff)
downloadopensim-SC-686660650b4f5724fc0b4858d50ff4deeafb8ffe.zip
opensim-SC-686660650b4f5724fc0b4858d50ff4deeafb8ffe.tar.gz
opensim-SC-686660650b4f5724fc0b4858d50ff4deeafb8ffe.tar.bz2
opensim-SC-686660650b4f5724fc0b4858d50ff4deeafb8ffe.tar.xz
Implement region registration with authentication
Diffstat (limited to 'OpenSim/Services/Interfaces/IGridService.cs')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index cd27145..6b6b347 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -159,6 +159,7 @@ namespace OpenSim.Services.Interfaces
159 public byte Access; 159 public byte Access;
160 public int Maturity; 160 public int Maturity;
161 public string RegionSecret; 161 public string RegionSecret;
162 public string Token;
162 163
163 public GridRegion() 164 public GridRegion()
164 { 165 {
@@ -306,6 +307,7 @@ namespace OpenSim.Services.Interfaces
306 kvp["access"] = Access.ToString(); 307 kvp["access"] = Access.ToString();
307 kvp["regionSecret"] = RegionSecret; 308 kvp["regionSecret"] = RegionSecret;
308 kvp["owner_uuid"] = EstateOwner.ToString(); 309 kvp["owner_uuid"] = EstateOwner.ToString();
310 kvp["token"] = Token.ToString();
309 // Maturity doesn't seem to exist in the DB 311 // Maturity doesn't seem to exist in the DB
310 return kvp; 312 return kvp;
311 } 313 }
@@ -363,6 +365,9 @@ namespace OpenSim.Services.Interfaces
363 if (kvp.ContainsKey("owner_uuid")) 365 if (kvp.ContainsKey("owner_uuid"))
364 EstateOwner = new UUID(kvp["owner_uuid"].ToString()); 366 EstateOwner = new UUID(kvp["owner_uuid"].ToString());
365 367
368 if (kvp.ContainsKey("token"))
369 Token = kvp["token"].ToString();
370
366 } 371 }
367 } 372 }
368 373