19 lines
504 B
C#
19 lines
504 B
C#
using System;
|
|
using Microsoft.AspNet.Identity;
|
|
using Microsoft.AspNet.Identity.EntityFramework;
|
|
using Microsoft.Data.Entity;
|
|
using Microsoft.Extensions.OptionsModel;
|
|
|
|
namespace IdentitySample.Models
|
|
{
|
|
public class ApplicationUser : IdentityUser { }
|
|
|
|
public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { }
|
|
|
|
public class IdentityDbContextOptions
|
|
{
|
|
public string DefaultAdminUserName { get; set; }
|
|
|
|
public string DefaultAdminPassword { get; set; }
|
|
}
|
|
} |