1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- using OpenMetaverse;
- using OpenSim.Framework;
- namespace OpenSim.Data
- {
- public class AuthenticationData
- {
- public UUID PrincipalID;
- public Dictionary<string, object> Data;
- }
-
-
-
- public interface IAuthenticationData
- {
- AuthenticationData Get(UUID principalID);
- bool Store(AuthenticationData data);
- bool SetDataItem(UUID principalID, string item, string value);
- bool SetToken(UUID principalID, string token, int lifetime);
- bool CheckToken(UUID principalID, string token, int lifetime);
- }
- }
|