|
Last change
on this file since 5b42c8d was 5b42c8d, checked in by stefansaveski <stefansaveski19@…>, 11 months ago |
|
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.
|
-
Property mode
set to
100644
|
|
File size:
265 bytes
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "Logging": {
|
|---|
| 3 | "LogLevel": {
|
|---|
| 4 | "Default": "Information",
|
|---|
| 5 | "Microsoft.AspNetCore": "Warning"
|
|---|
| 6 | }
|
|---|
| 7 | },
|
|---|
| 8 | "ConnectionStrings": {
|
|---|
| 9 | "DefaultConnection": "Host=localhost;Port=5432;Database=myappdb;Username=postgres;Password=newpassword"
|
|---|
| 10 | }
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.