C# Класс AppMetrics.WebUtils.BasicAuthenticationModule

Наследование: IHttpModule
Показать файл Открыть проект

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

Метод Описание
CreateUser ( string userName, string password ) : void
Dispose ( ) : void
Init ( System.Web.HttpApplication context ) : void
IsAnonymousAccessAllowed ( HttpRequest request ) : bool

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

Метод Описание
Authenticate ( HttpContext context ) : bool
AuthenticateRequest ( object sender, EventArgs e ) : void
CheckPassword ( UserCredentials user, string password ) : bool
GetPasswordHash ( string salt, string password ) : string
GetUser ( string name ) : UserCredentials
ParseAuthHeader ( string authHeader ) : string[]
TryGetPrincipal ( string creds ) : IPrincipal

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

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

public static CreateUser ( string userName, string password ) : void
userName string
password string
Результат void

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

public Dispose ( ) : void
Результат void

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

public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication
Результат void

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

public static IsAnonymousAccessAllowed ( HttpRequest request ) : bool
request System.Web.HttpRequest
Результат bool