mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
ef9c2e8af1
* Part 1: OpenIddict - Minor Changes & Config prep * Part 1: OpenIddict - Minor Changes & Config prep * Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies * pr changes * pr changes * fix merge * pr fixes * remove config for openid -- no need for it for now * fix compile * fix compile #2 * remove extra ns using * Update Startup.cs * compile * adjust settings a bit * remove duplicate * remove external login provider placeholder html * remove unused directives * regenerate db snapshot model * Remove dynamic policy
38 lines
911 B
C#
38 lines
911 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Authentication.OpenId.Models;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Services.U2F.Models;
|
|
using BTCPayServer.Storage.Models;
|
|
|
|
namespace BTCPayServer.Models
|
|
{
|
|
// 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; }
|
|
}
|
|
}
|