C# Class Glipho.OAuth.Providers.Web.AuthenticationHttpModule

The authentication http module.
Inheritance: IHttpModule
Mostra file Open project: Glipho/oauth-providers

Public Methods

Method Description
AuthenticationHttpModule ( ) : System

Initialises a new instance of the AuthenticationHttpModule class.

Dispose ( ) : void

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

Init ( System.Web.HttpApplication context ) : void

Initializes a module and prepares it to handle requests.

Private Methods

Method Description
AuthenticateRequestContext ( object sender, EventArgs e ) : void

Handles the AuthenticateRequest event of the HttpApplication.

IsOAuthRequest ( ) : bool

Determine is this request is a OAuth request.

RegisterRoleProvider ( ) : void

Register a custom role provider.

RoleManagerGetRoles ( object sender, System.Web.Security.RoleManagerEventArgs e ) : void

Handles the GetRoles event of the roleManager control.

Method Details

AuthenticationHttpModule() public method

Initialises a new instance of the AuthenticationHttpModule class.
public AuthenticationHttpModule ( ) : System
return System

Dispose() public method

Disposes of the resources (other than memory) used by the module that implements 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