diff options
author | diva | 2009-03-21 20:16:35 +0000 |
---|---|---|
committer | diva | 2009-03-21 20:16:35 +0000 |
commit | 09732b4d5dfdb3a9e326e99c2e86d7492bc06e55 (patch) | |
tree | 2fcb55c9e341c7abf7225c5880a6984ab8544ff2 /OpenSim/Framework/Communications/IAuthentication.cs | |
parent | Minor changes in names inside. (diff) | |
download | opensim-SC-09732b4d5dfdb3a9e326e99c2e86d7492bc06e55.zip opensim-SC-09732b4d5dfdb3a9e326e99c2e86d7492bc06e55.tar.gz opensim-SC-09732b4d5dfdb3a9e326e99c2e86d7492bc06e55.tar.bz2 opensim-SC-09732b4d5dfdb3a9e326e99c2e86d7492bc06e55.tar.xz |
Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/IAuthentication.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/IAuthentication.cs b/OpenSim/Framework/Communications/IAuthentication.cs new file mode 100644 index 0000000..5d6d5f2 --- /dev/null +++ b/OpenSim/Framework/Communications/IAuthentication.cs | |||
@@ -0,0 +1,13 @@ | |||
1 | using System; | ||
2 | |||
3 | using OpenMetaverse; | ||
4 | |||
5 | |||
6 | namespace OpenSim.Framework.Communications | ||
7 | { | ||
8 | public interface IAuthentication | ||
9 | { | ||
10 | string GetNewKey(string url, UUID userID, UUID authToken); | ||
11 | bool VerifyKey(UUID userID, string key); | ||
12 | } | ||
13 | } | ||