C# Class Crafted.Volva.BasicAuthentication

Basic Authentication Module
Inheritance: IHttpModule
Exibir arquivo Open project: craftedmedia/Crafted.Volva

Public Methods

Method Description
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.

Init ( System.Web.HttpApplication context ) : void

Initializes a module and prepares it to handle requests.

Private Methods

Method Description
IsAuthenticated ( System.Web.HttpApplication context ) : bool

Determines whether the specified context is authenticated.

OnAuthorize ( object sender, EventArgs e ) : void

Called when [authorize].

OnBeginRequest ( object sender, EventArgs e ) : void

Called when [begin request].

SendAuthChallengeHeader ( System.Web.HttpApplication context ) : void

Sends the auth challenge header.

SendNotAuthorizedHeader ( System.Web.HttpApplication context ) : void

Sends the not authorized header.

Method Details

Dispose() public method

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
public Dispose ( ) : void
return void

Init() public method

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication An that provides access to the methods, properties, and events common to all application objects within an ASP.NET application
return void