From 85d51e57a905ac8f823f345f525837926f4ed2ce Mon Sep 17 00:00:00 2001
From: Oren Hurvitz
Date: Mon, 7 Apr 2014 09:25:18 +0300
Subject: When sending QueryAccess to a region, also send the user's Home URI
---
OpenSim/Services/Interfaces/IHypergridServices.cs | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'OpenSim/Services/Interfaces/IHypergridServices.cs')
diff --git a/OpenSim/Services/Interfaces/IHypergridServices.cs b/OpenSim/Services/Interfaces/IHypergridServices.cs
index f3cdb76..30f27ee 100644
--- a/OpenSim/Services/Interfaces/IHypergridServices.cs
+++ b/OpenSim/Services/Interfaces/IHypergridServices.cs
@@ -37,6 +37,19 @@ namespace OpenSim.Services.Interfaces
public interface IGatekeeperService
{
bool LinkRegion(string regionDescriptor, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason);
+
+ ///
+ /// Returns the region a Hypergrid visitor should enter.
+ ///
+ ///
+ /// Usually the returned region will be the requested region. But the grid can choose to
+ /// redirect the user to another region: e.g., a default gateway region.
+ ///
+ /// The region the visitor *wants* to enter
+ /// The visitor's User ID. Will be missing (UUID.Zero) in older OpenSims.
+ /// The visitor's Home URI. Will be missing (null) in older OpenSims.
+ /// [out] A message to show to the user (optional, may be null)
+ /// The region the visitor should enter, or null if no region can be found / is allowed
GridRegion GetHyperlinkRegion(UUID regionID, UUID agentID, string agentHomeURI, out string message);
bool LoginAgent(AgentCircuitData aCircuit, GridRegion destination, out string reason);
--
cgit v1.1