We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d643a02 commit 99b7c40Copy full SHA for 99b7c40
1 file changed
Examples/BookingSystem.AspNetCore/Startup.cs
@@ -18,6 +18,11 @@ public Startup(IConfiguration configuration)
18
{
19
AppSettings = new AppSettings();
20
configuration.Bind(AppSettings);
21
+
22
+ // Provide a simple way to disable token auth for some testing scenarios
23
+ if (System.Environment.GetEnvironmentVariable("DISABLE_TOKEN_AUTH") == "true") {
24
+ AppSettings.FeatureFlags.EnableTokenAuth = false;
25
+ }
26
}
27
28
public AppSettings AppSettings { get; }
0 commit comments