I'm guessing that by default the [Authorize] attribute checks for a non null object that implements IPrincipal?
Am I on the right track?
I'm guessing that by default the [Authorize] attribute checks for a non null object that implements IPrincipal?
Am I on the right track?
Copyright © 2021 Jogjafile Inc.
Yes, you are. For more sure, you can take a look at the code how to implement
[Authorize]
: