29 using System.Collections.Generic;
32 namespace OpenSim.Services.Interfaces
36 public UUID PrincipalID {
get; set; }
37 public string AccountType {
get; set; }
38 public string PasswordHash {
get; set; }
39 public string PasswordSalt {
get; set; }
40 public string WebLoginKey {
get; set; }
44 Dictionary<string, object> result =
new Dictionary<string, object>();
45 result[
"PrincipalID"] = PrincipalID;
46 result[
"AccountType"] = AccountType;
47 result[
"PasswordHash"] = PasswordHash;
48 result[
"PasswordSalt"] = PasswordSalt;
49 result[
"WebLoginKey"] = WebLoginKey;
69 string Authenticate(UUID principalID,
string password,
int lifetime);
70 string Authenticate(UUID principalID,
string password,
int lifetime, out UUID realID);
80 bool Verify(UUID principalID,
string token,
int lifetime);
89 bool Release(UUID principalID,
string token);
100 bool SetPassword(UUID principalID,
string passwd);
102 AuthInfo GetAuthInfo(UUID principalID);
Dictionary< string, object > ToKeyValuePairs()