Renamed to avoid confusion with domain model repositories
This commit is contained in:
@@ -36,7 +36,7 @@ public static class PersistenceRegistrationExtensions
|
||||
services.AddTransient<IWhiteboardMembershipRepository, WhiteboardMembershipRepository>();
|
||||
services.AddTransient<IShapeRepository, ShapeRepository>();
|
||||
|
||||
services.AddTransient<IRefreshTokenRepository, RefreshTokenRepository>();
|
||||
services.AddTransient<IRefreshTokenManager, RefreshTokenManager>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
@@ -6,12 +6,12 @@ using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace AipsCore.Infrastructure.Persistence.RefreshToken;
|
||||
|
||||
public class RefreshTokenRepository : IRefreshTokenRepository
|
||||
public class RefreshTokenManager : IRefreshTokenManager
|
||||
{
|
||||
private readonly AipsDbContext _dbContext;
|
||||
private readonly JwtSettings _jwtSettings;
|
||||
|
||||
public RefreshTokenRepository(AipsDbContext dbContext, JwtSettings jwtSettings)
|
||||
public RefreshTokenManager(AipsDbContext dbContext, JwtSettings jwtSettings)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
_jwtSettings = jwtSettings;
|
||||
Reference in New Issue
Block a user