C# 클래스 Investor.Common.Shared.Authentication.BasicAuthenticationFilter

상속: System.Web.Http.Filters.AuthorizationFilterAttribute
파일 보기 프로젝트 열기: johnhinz/Investor

공개 메소드들

메소드 설명
BasicAuthenticationFilter ( ) : Investor.Common.Shared.Interfaces
BasicAuthenticationFilter ( bool active ) : Investor.Common.Shared.Interfaces
OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

보호된 메소드들

메소드 설명
OnAuthorizeUser ( string username, string password, System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
ParseAuthorizationHeader ( System.Web.Http.Controllers.HttpActionContext actionContext ) : BasicAuthenticationIdentity

비공개 메소드들

메소드 설명
Challenge ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Send the Authentication Challenge request

메소드 상세

BasicAuthenticationFilter() 공개 메소드

public BasicAuthenticationFilter ( ) : Investor.Common.Shared.Interfaces
리턴 Investor.Common.Shared.Interfaces

BasicAuthenticationFilter() 공개 메소드

public BasicAuthenticationFilter ( bool active ) : Investor.Common.Shared.Interfaces
active bool
리턴 Investor.Common.Shared.Interfaces

OnAuthorization() 공개 메소드

public OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
리턴 void

OnAuthorizeUser() 보호된 메소드

protected OnAuthorizeUser ( string username, string password, System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
username string
password string
actionContext System.Web.Http.Controllers.HttpActionContext
리턴 bool

ParseAuthorizationHeader() 보호된 메소드

protected ParseAuthorizationHeader ( System.Web.Http.Controllers.HttpActionContext actionContext ) : BasicAuthenticationIdentity
actionContext System.Web.Http.Controllers.HttpActionContext
리턴 BasicAuthenticationIdentity