mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-27 10:54:50 +01:00
Consolidate auth into one
This commit is contained in:
@@ -26,7 +26,7 @@ namespace BTCPayServer.Security.APIKeys
|
||||
|
||||
public static AuthenticationBuilder AddAPIKeyAuthentication(this AuthenticationBuilder builder)
|
||||
{
|
||||
builder.AddScheme<APIKeyAuthenticationOptions, APIKeyAuthenticationHandler>(AuthenticationSchemes.ApiKey,
|
||||
builder.AddScheme<APIKeyAuthenticationOptions, APIKeyAuthenticationHandler>(AuthenticationSchemes.Greenfield,
|
||||
o => { });
|
||||
return builder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user