Ignore:
Timestamp:
10/27/25 15:22:39 (11 months ago)
Author:
imbrsk <boris696boris@…>
Branches:
master
Children:
c155364
Parents:
e49c3ed
Message:

Implement refresh token functionality with associated services and repositories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Program.cs

    re49c3ed r3347c1b  
    4242// Register your services
    4343builder.Services.AddScoped<IAuthService, AuthService>();
    44 builder.Services.AddScoped<IUserRepository, UserRepository>(); // You'll need to add the UserRepository implementation
     44builder.Services.AddScoped<IRefreshTokenService, RefreshTokenService>();
     45builder.Services.AddScoped<IUserRepository, UserRepository>();
     46builder.Services.AddScoped<IRefreshTokenRepository, RefreshTokenRepository>();
    4547builder.Services.AddAuthorization();
    4648var app = builder.Build();
Note: See TracChangeset for help on using the changeset viewer.