Implement region registration with authentication

This commit is contained in:
Melanie
2010-01-15 21:57:31 +00:00
parent d49cc7ca90
commit 686660650b
3 changed files with 24 additions and 1 deletions

View File

@@ -159,6 +159,7 @@ namespace OpenSim.Services.Interfaces
public byte Access;
public int Maturity;
public string RegionSecret;
public string Token;
public GridRegion()
{
@@ -306,6 +307,7 @@ namespace OpenSim.Services.Interfaces
kvp["access"] = Access.ToString();
kvp["regionSecret"] = RegionSecret;
kvp["owner_uuid"] = EstateOwner.ToString();
kvp["token"] = Token.ToString();
// Maturity doesn't seem to exist in the DB
return kvp;
}
@@ -363,6 +365,9 @@ namespace OpenSim.Services.Interfaces
if (kvp.ContainsKey("owner_uuid"))
EstateOwner = new UUID(kvp["owner_uuid"].ToString());
if (kvp.ContainsKey("token"))
Token = kvp["token"].ToString();
}
}