mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Remove OpenIddict * Add API Key system * Revert removing OpenIddict * fix rebase * fix tests * pr changes * fix tests * fix apikey test * pr change * fix db * add migration attrs * fix migration error * PR Changes * Fix sqlite migration * change api key to use Authorization Header * add supportAddForeignKey * use tempdata status message * fix add api key css * remove redirect url + app identifier feature :(
17 lines
520 B
C#
17 lines
520 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using OpenIddict.Validation;
|
|
using OpenIddict.Validation.AspNetCore;
|
|
|
|
namespace BTCPayServer.Security
|
|
{
|
|
public class AuthenticationSchemes
|
|
{
|
|
public const string Cookie = "Identity.Application";
|
|
public const string Bitpay = "Bitpay";
|
|
public const string OpenId = OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme;
|
|
public const string ApiKey = "GreenfieldApiKey";
|
|
}
|
|
}
|