IServiceAuth.cs 429 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. namespace OpenSim.Framework.ServiceAuth
  5. {
  6. public delegate void AddHeaderDelegate(string key, string value);
  7. public interface IServiceAuth
  8. {
  9. bool Authenticate(string data);
  10. bool Authenticate(NameValueCollection headers, AddHeaderDelegate d);
  11. void AddAuthorization(NameValueCollection headers);
  12. }
  13. }