C# 클래스 Candor.Security.Web.CandorAuthenticationModule

Authenticates the current request from custom cookies.
상속: IHttpModule
파일 보기 프로젝트 열기: michael-lang/candor-common

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