Feature(Auth): Add Login and Refresh Token

This commit is contained in:
Emmanuel Rojas committed 2026-09-04 12:35:11 -05:00
1 parent bd7e505432
commit dcc2e99bb1
20 files changed
+252 -20

No files matched your search

+7 -1
View File
@@ -1,9 +1,15 @@
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using RT.Domain.Entities;
using RT.Infrastructure.Identity;
namespace RT.Infrastructure.Data;
public class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(options)
public class AppDbContext(DbContextOptions<AppDbContext> options)
: IdentityDbContext<ApplicationUser>(options)
{
public DbSet<RefreshToken> RefreshTokens => Set<RefreshToken>();
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);