Change default section from Authentication:Gateway to Gateway

This commit is contained in:
Shkar T. Noori 2023-03-14 00:38:19 +03:00
parent 9c4a28ce59
commit 7ad90411ff
No known key found for this signature in database
GPG Key ID: E7AD76088FB6FE02

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";