C# Class Hero.Attributes.AbilityWebApiAuthorizationAttribute

Inheritance: System.Web.Http.AuthorizeAttribute
Afficher le fichier Open project: Skookum/Hero

Méthodes publiques

Méthode Description
AuthorizeRequest ( HttpRequestMessage request ) : bool
OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Méthodes protégées

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

Private Methods

Méthode Description
AuthorizationDisabled ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
CreateUnauthorizedResponse ( HttpRequestMessage request ) : HttpResponseMessage

Method Details

AuthorizeRequest() public méthode

public AuthorizeRequest ( HttpRequestMessage request ) : bool
request System.Net.Http.HttpRequestMessage
Résultat bool

HandleUnauthorizedRequest() protected méthode

protected HandleUnauthorizedRequest ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat void

OnAuthorization() public méthode

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