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

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Afficher le fichier Open project: johnhinz/Investor

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode Description
Challenge ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Send the Authentication Challenge request

Method Details

BasicAuthenticationFilter() public méthode

public BasicAuthenticationFilter ( ) : Investor.Common.Shared.Interfaces
Résultat Investor.Common.Shared.Interfaces

BasicAuthenticationFilter() public méthode

public BasicAuthenticationFilter ( bool active ) : Investor.Common.Shared.Interfaces
active bool
Résultat Investor.Common.Shared.Interfaces

OnAuthorization() public méthode

public OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat void

OnAuthorizeUser() protected méthode

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

ParseAuthorizationHeader() protected méthode

protected ParseAuthorizationHeader ( System.Web.Http.Controllers.HttpActionContext actionContext ) : BasicAuthenticationIdentity
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat BasicAuthenticationIdentity