C# Class JayLabs.Owin.OAuthAuthorization.ClaimAuthorizeAttribute

Inheritance: System.Web.Http.AuthorizeAttribute
显示文件 Open project: jayway/JayLabs.Owin.OAuthAuthorization

Public Methods

Method Description
ClaimAuthorizeAttribute ( string requiredClaimType ) : System

Protected Methods

Method Description
IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool

Method Details

ClaimAuthorizeAttribute() public method

public ClaimAuthorizeAttribute ( string requiredClaimType ) : System
requiredClaimType string
return System

IsAuthorized() protected method

protected IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
actionContext System.Web.Http.Controllers.HttpActionContext
return bool