Skip to content

Commit 7373540

Browse files
authored
Merge pull request #2 from Mathavana/develop
simple JWT Authentication implemented
2 parents 719aa3b + 7980c5e commit 7373540

21 files changed

+1032
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.vs/**
22
Supermarket.Entites/bin/**
33
Supermarket.Entites/obj/**
4+
Supermarket.Identity/bin/**
5+
Supermarket.Identity/obj/**
46
Supermarket.Persistent/bin/**
57
Supermarket.Persistent/obj/**
68
Supermarket/bin/**
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
2+
using Microsoft.EntityFrameworkCore;
3+
using Supermarket.Identity.Models;
4+
5+
namespace Supermarket.Identity.Context
6+
{
7+
public class AuthenticationContext : IdentityDbContext
8+
{
9+
public AuthenticationContext(DbContextOptions<AuthenticationContext> options) : base(options)
10+
{
11+
12+
}
13+
public DbSet<ApplicationUser> ApplicationUsers { get; set; }
14+
}
15+
}

Supermarket.Identity/Migrations/20190316080724_InitialCreate.Designer.cs

Lines changed: 251 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)