mirror of
https://github.com/ditkrg/asp.netcore-authentication.git
synced 2026-01-24 22:26:48 +00:00
Change default section from Authentication:Gateway to Gateway
This commit is contained in:
parent
9c4a28ce59
commit
7ad90411ff
@ -1,13 +1,10 @@
|
|||||||
using Microsoft.AspNetCore.Authentication;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
|
|
||||||
namespace DIT.Authentication.GatewayAuth;
|
namespace DIT.Authentication.GatewayAuth;
|
||||||
|
|
||||||
public static class GatewayAuthDefaults
|
public static class GatewayAuthDefaults
|
||||||
{
|
{
|
||||||
public const string AuthenticationScheme = "Gateway";
|
public const string AuthenticationScheme = "Gateway";
|
||||||
|
|
||||||
public const string ConfigurationSection = "Authentication:Gateway";
|
public const string ConfigurationSection = "Gateway";
|
||||||
|
|
||||||
public const string UserHeader = "x-auth-user";
|
public const string UserHeader = "x-auth-user";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user