Change default section from Authentication:Gateway to Gateway

This commit is contained in:
2023-03-14 00:38:19 +03:00
parent 9c4a28ce59
commit 7ad90411ff

View File

@@ -1,13 +1,10 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
namespace DIT.Authentication.GatewayAuth;
public static class GatewayAuthDefaults
{
public const string AuthenticationScheme = "Gateway";
public const string ConfigurationSection = "Authentication:Gateway";
public const string ConfigurationSection = "Gateway";
public const string UserHeader = "x-auth-user";