Ignore:
Timestamp:
10/22/25 22:40:03 (11 months ago)
Author:
stefansaveski <stefansaveski19@…>
Branches:
master
Children:
301af3f
Parents:
aed1148
Message:

Implement JWT Authentication and Update User Schema

Replaced repository interface with FinXaccesApi.Repositories in UsersControllers.cs. Updated database schema to use PasswordHash instead of Password. Added new migration files reflecting these changes. Updated service registration in Program.cs to include IAuthService and IUserRepository. Refactored UserRepository.cs and IUserRepository.cs with new methods and namespace changes. Commented out UserService.cs. Updated appsettings with new connection strings and JWT settings. Added BCrypt.Net-Next and System.IdentityModel.Tokens.Jwt packages. Introduced AuthController, UserDTO, AuthService, and IAuthService for handling authentication and user management.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Migrations/AppDbContextModelSnapshot.cs

    raed1148 rfc7b4b4  
    4646                        .HasColumnType("text");
    4747
    48                     b.Property<string>("Password")
     48                    b.Property<string>("PasswordHash")
    4949                        .HasColumnType("text");
    5050
Note: See TracChangeset for help on using the changeset viewer.