C# Class WebApi_BasicAuth_Filter.BasicAuthenticationFilter

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Datei anzeigen Open project: NathanGloyn/SPA-Authentication

Public Methods

Method Description
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
SkipAuthorisation ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool

Method Details

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