mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
fa51180dfa
* 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 :(
36 lines
839 B
C#
36 lines
839 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using BTCPayServer.Data;
|
|
|
|
namespace BTCPayServer.Data
|
|
{
|
|
// Add profile data for application users by adding properties to the ApplicationUser class
|
|
public class ApplicationUser : IdentityUser
|
|
{
|
|
public List<UserStore> UserStores
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public bool RequiresEmailConfirmation
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public List<BTCPayOpenIdClient> OpenIdClients { get; set; }
|
|
|
|
public List<StoredFile> StoredFiles
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public List<U2FDevice> U2FDevices { get; set; }
|
|
public List<APIKeyData> APIKeys { get; set; }
|
|
}
|
|
}
|