You need to override OnAuthorization or OnAuthorizationAsync on the Web API filter. You don't need to register a global filter and decorate your controller ...
確定! 回上一頁