0
ramanan created
How to implement HostAuthenticationFilter("Bearer") in Api controllers inherited from AbpApiController like the following that we do for dynamic api ?
Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(new HostAuthenticationFilter("Bearer"));
1 Answer(s)
-
0
Probably you should add it to controllers as attribute. Another option can be registering it as a global filter. You can find docs on the web for this topics, since this is not unique to ABP.