diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ServiceAuth/IServiceAuth.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/ServiceAuth/IServiceAuth.cs b/OpenSim/Framework/ServiceAuth/IServiceAuth.cs index adde62f..5f744cb 100644 --- a/OpenSim/Framework/ServiceAuth/IServiceAuth.cs +++ b/OpenSim/Framework/ServiceAuth/IServiceAuth.cs | |||
@@ -34,8 +34,13 @@ namespace OpenSim.Framework.ServiceAuth | |||
34 | { | 34 | { |
35 | public delegate void AddHeaderDelegate(string key, string value); | 35 | public delegate void AddHeaderDelegate(string key, string value); |
36 | 36 | ||
37 | public interface IServiceAuth | 37 | public interface IServiceAuth |
38 | { | 38 | { |
39 | /// <summary> | ||
40 | /// Name of this authenticator. | ||
41 | /// </summary> | ||
42 | string Name { get; } | ||
43 | |||
39 | bool Authenticate(string data); | 44 | bool Authenticate(string data); |
40 | bool Authenticate(NameValueCollection headers, AddHeaderDelegate d, out HttpStatusCode statusCode); | 45 | bool Authenticate(NameValueCollection headers, AddHeaderDelegate d, out HttpStatusCode statusCode); |
41 | void AddAuthorization(NameValueCollection headers); | 46 | void AddAuthorization(NameValueCollection headers); |