diff options
Remove the distinction between password and login key in the authentication
service. This will be done in the login service instead, it's out of
scope for an authenticator
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs (renamed from OpenSim/Services/AuthenticationService/AuthenticationService.cs) | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/OpenSim/Services/AuthenticationService/AuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs index 803d90c..d20edb3 100644 --- a/OpenSim/Services/AuthenticationService/AuthenticationService.cs +++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs | |||
@@ -36,29 +36,19 @@ namespace OpenSim.Services.AuthenticationService | |||
36 | // or any other components that need | 36 | // or any other components that need |
37 | // verifiable identification. | 37 | // verifiable identification. |
38 | // | 38 | // |
39 | public class AuthenticationService | 39 | public class PasswordAuthenticationService |
40 | { | 40 | { |
41 | public byte[] GetPublicKey() | 41 | public byte[] GetPublicKey() |
42 | { | 42 | { |
43 | return new byte[0]; | 43 | return new byte[0]; |
44 | } | 44 | } |
45 | 45 | ||
46 | public string AuthenticatePassword(UUID principalID, string password) | 46 | public string Authenticate(UUID principalID, string password) |
47 | { | 47 | { |
48 | return String.Empty; | 48 | return String.Empty; |
49 | } | 49 | } |
50 | 50 | ||
51 | public byte[] AuthenticatePasswordEncrypted(byte[] cyphertext, byte[] key) | 51 | public byte[] AuthenticateEncrypted(byte[] cyphertext, byte[] key) |
52 | { | ||
53 | return new byte[0]; | ||
54 | } | ||
55 | |||
56 | public string AuthenticateWebkey(UUID principalID, string webkey) | ||
57 | { | ||
58 | return String.Empty; | ||
59 | } | ||
60 | |||
61 | public byte[] AuthenticateWebkeyEncrypted(byte[] cyphertext, byte[] key) | ||
62 | { | 52 | { |
63 | return new byte[0]; | 53 | return new byte[0]; |
64 | } | 54 | } |