summaryrefslogtreecommitdiff
path: root/Models/IdentityContext.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-03-06 07:41:35 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-03-06 07:41:35 +0300
commit0c4d13caed53b2702eef41461d0c8a4b25df48f6 (patch)
tree6fb6d2d54cedce1c204fb30b75f4d470fbf7ee83 /Models/IdentityContext.cs
parentcdd58a8f518d037658518c233e74beea22d03906 (diff)
Base authorization/authentification
Diffstat (limited to 'Models/IdentityContext.cs')
-rw-r--r--Models/IdentityContext.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Models/IdentityContext.cs b/Models/IdentityContext.cs
new file mode 100644
index 0000000..888bc7a
--- /dev/null
+++ b/Models/IdentityContext.cs
@@ -0,0 +1,13 @@
+using Microsoft.AspNetCore.Identity;
+using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+
+namespace MyDarling.Models;
+
+public class IdentityContext : IdentityDbContext<IdentityUser>
+{
+ public IdentityContext(DbContextOptions<IdentityContext> options) : base(options)
+ {
+
+ }
+} \ No newline at end of file