ln.http/HttpApplication.cs

21 lines
495 B
C#
Raw Normal View History

2019-02-14 09:14:50 +01:00
using System;
using ln.http;
2019-03-13 08:24:24 +01:00
using ln.http.resources.session;
2019-02-14 09:14:50 +01:00
namespace ln.http
{
public abstract class HttpApplication
{
2019-03-13 08:24:24 +01:00
public AuthenticationProvider AuthenticationProvider { get; protected set; }
2019-02-14 09:14:50 +01:00
public HttpApplication()
{
}
public abstract HttpResponse GetResponse(HttpRequest httpRequest);
2019-03-13 08:24:24 +01:00
public virtual void Authenticate(HttpRequest httpRequest) { }
public virtual void Authorize(HttpRequest httpRequest) { }
2019-02-14 09:14:50 +01:00
}
}