diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IFriendsData.cs (renamed from OpenSim/Framework/Communications/IAuthentication.cs) | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/IAuthentication.cs b/OpenSim/Data/IFriendsData.cs index bd568e4..1f1a031 100644 --- a/OpenSim/Framework/Communications/IAuthentication.cs +++ b/OpenSim/Data/IFriendsData.cs | |||
@@ -26,14 +26,26 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | ||
29 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | ||
30 | 32 | ||
31 | namespace OpenSim.Framework.Communications | 33 | namespace OpenSim.Data |
32 | { | 34 | { |
33 | public interface IAuthentication | 35 | public class FriendsData |
34 | { | 36 | { |
35 | string GetNewKey(string url, UUID userID, UUID authToken); | 37 | public UUID PrincipalID; |
36 | bool VerifyKey(UUID userID, string key); | 38 | public string Friend; |
37 | bool VerifySession(UUID iserID, UUID sessionID); | 39 | public Dictionary<string, string> Data; |
40 | } | ||
41 | |||
42 | /// <summary> | ||
43 | /// An interface for connecting to the friends datastore | ||
44 | /// </summary> | ||
45 | public interface IFriendsData | ||
46 | { | ||
47 | bool Store(FriendsData data); | ||
48 | bool Delete(UUID ownerID, string friend); | ||
49 | FriendsData[] GetFriends(UUID principalID); | ||
38 | } | 50 | } |
39 | } | 51 | } |