C# Класс Candor.Security.Web.CandorAuthenticationModule

Authenticates the current request from custom cookies.
Наследование: IHttpModule
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CheckRequireAuthentication bool
OnAuthenticate void
OnEndRequest void

Открытые методы

Метод Описание
Dispose ( ) : void

Disposes of this instance.

Init ( System.Web.HttpApplication app ) : void

Initializes this instance from the application.

OnAuthenticate ( HttpContext context ) : void

Authenticates the current context.

Приватные методы

Метод Описание
CheckRequireAuthentication ( HttpContext context ) : bool

Checks if a request needs to be authentication based on the url requested. Static resource files do not require authentication.

OnAuthenticate ( object sender, EventArgs e ) : void

Handles the OnAuthenticate event subscribed to during Init.

OnEndRequest ( object sender, EventArgs e ) : void

Описание методов

Dispose() публичный Метод

Disposes of this instance.
public Dispose ( ) : void
Результат void

Init() публичный Метод

Initializes this instance from the application.
public Init ( System.Web.HttpApplication app ) : void
app System.Web.HttpApplication
Результат void

OnAuthenticate() публичный статический Метод

Authenticates the current context.
public static OnAuthenticate ( HttpContext context ) : void
context System.Web.HttpContext The context containing the current request to be authenticated and the response.
Результат void