C# Class ClaimsAuthorizeAttribute, code

Inheritance: AuthorizeAttribute
ファイルを表示 Open project: shendongnian/code

Public Methods

Method Description
ClaimsAuthorizeAttribute ( string type, string value = "" )

Authorise using a claim by type (and optional value)

Method Details

ClaimsAuthorizeAttribute() public method

Authorise using a claim by type (and optional value)
public ClaimsAuthorizeAttribute ( string type, string value = "" )
type string The Claim Type - Usually [Controller]_[Action]
value string The Claim Value, usually one of Read | Edit | Create | Delete, or some other relevant value