Thursday, February 6, 2020

ClaimAuthorize

It is a little like Authorize only claim-flavored. This has these examples:

  • [ClaimAuthorize(Permission="CanUpdateLedger")]
  • [ClaimAuthorize(Permission="Accounting.Ledger.CanUpdate")]
  • [ClaimsAuthorize("SomeController", "Edit")]

No comments:

Post a Comment