It is the method that effectively makes the decision whether or not the user is authorized to access a particular context. Here you are given roles , the normal rules, the special rules, and so on. Return is just a Boolean.
This is a method that performs additional actions that have to do with verifying the authorization itself, but it is not exactly the verification of the authorization. For example, put conditions to check whether the authorization check itself should be done or not.
Unlike AuthorizeCore
, does not return result ( void
). The difference between them is basically in the utility scope of each.