Complete the first authenticator method
parent
2f624800d3
commit
0c364ee285
|
@ -95,7 +95,13 @@ namespace OpenSim.Services.Connectors
|
||||||
m_ServerURI + "/auth/plain",
|
m_ServerURI + "/auth/plain",
|
||||||
ServerUtils.BuildQueryString(sendData));
|
ServerUtils.BuildQueryString(sendData));
|
||||||
|
|
||||||
|
Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse(
|
||||||
|
reply);
|
||||||
|
|
||||||
|
if (replyData["Result"].ToString() != "Success")
|
||||||
return String.Empty;
|
return String.Empty;
|
||||||
|
|
||||||
|
return replyData["Token"].ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Verify(UUID principalID, string token, int lifetime)
|
public bool Verify(UUID principalID, string token, int lifetime)
|
||||||
|
|
Loading…
Reference in New Issue