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/iknow-api.csproj

    raed1148 rfc7b4b4  
    99
    1010  <ItemGroup>
     11    <PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
    1112    <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.9" />
    1213    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.10">
     
    1516    </PackageReference>
    1617    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
     18    <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.14.0" />
    1719  </ItemGroup>
    1820
Note: See TracChangeset for help on using the changeset viewer.