From 11700ba4a4e35cf7512f7f6e8b9b8e54e812f574 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 4 Sep 2009 07:03:43 +0100 Subject: Implement plain password authentication partway. Tested, but no user functionality yet. --- OpenSim/Services/Interfaces/IAuthenticationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Services/Interfaces') diff --git a/OpenSim/Services/Interfaces/IAuthenticationService.cs b/OpenSim/Services/Interfaces/IAuthenticationService.cs index f042c93..b448a14 100644 --- a/OpenSim/Services/Interfaces/IAuthenticationService.cs +++ b/OpenSim/Services/Interfaces/IAuthenticationService.cs @@ -70,7 +70,7 @@ namespace OpenSim.Services.Interfaces // the public key of the peer, which the connector must have // obtained using a remote GetPublicKey call. // - string Authenticate(UUID principalID, string password); + string Authenticate(UUID principalID, string password, int lifetime); byte[] AuthenticateEncrypted(byte[] cyphertext, byte[] key); ////////////////////////////////////////////////////// @@ -85,7 +85,7 @@ namespace OpenSim.Services.Interfaces // must be used to refresh. Unencrypted verification is still // performed, but doesn't refresh token lifetime. // - bool Verify(UUID principalID, string token); + bool Verify(UUID principalID, string token, int lifetime); bool VerifyEncrypted(byte[] cyphertext, byte[] key); ////////////////////////////////////////////////////// -- cgit v1.1