.NET Core API Conditional Authentication attributes for Development & Production
Long story short, Is it possible to place an environment based authorization attribute on my API so that the authorization restriction would be turned off in development and turned back on in Production?