mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Adds optional HTTP Basic Authentication to Robust service connectors.
This commit is contained in:
15
OpenSim/Framework/ServiceAuth/IServiceAuth.cs
Normal file
15
OpenSim/Framework/ServiceAuth/IServiceAuth.cs
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user