C# Class Investor.Common.Shared.Authentication.BasicAuthenticationFilter

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Mostra file Open project: johnhinz/Investor

Public Methods

Method Description
BasicAuthenticationFilter ( ) : Investor.Common.Shared.Interfaces
BasicAuthenticationFilter ( bool active ) : Investor.Common.Shared.Interfaces
OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Protected Methods

Method Description
OnAuthorizeUser ( string username, string password, System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
ParseAuthorizationHeader ( System.Web.Http.Controllers.HttpActionContext actionContext ) : BasicAuthenticationIdentity

Private Methods

Method Description
Challenge ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Send the Authentication Challenge request

Method Details

BasicAuthenticationFilter() public method

public BasicAuthenticationFilter ( ) : Investor.Common.Shared.Interfaces
return Investor.Common.Shared.Interfaces

BasicAuthenticationFilter() public method

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

OnAuthorization() public method

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

OnAuthorizeUser() protected method

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

ParseAuthorizationHeader() protected method

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