aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ServiceAuth/IServiceAuth.cs
blob: 415dc12e18d54e250f659115e38545d5d1f9d5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Collections.Specialized;

namespace OpenSim.Framework.ServiceAuth
{
    public delegate void AddHeaderDelegate(string key, string value);

    public interface  IServiceAuth
    {
        bool Authenticate(string data);
        bool Authenticate(NameValueCollection headers, AddHeaderDelegate d);
        void AddAuthorization(NameValueCollection headers);
    }
}