And since it has async API, it is better to use IAsyncAuthorizationFilter instead of IAuthorizationFilter . Try this: public class CustomAuthorizeAttribute ...
確定! 回上一頁