Commit Graph

17 Commits

Author SHA1 Message Date
163916e330 Update dependencies and integrate EnvelopeGenerator
Updated `DigitalData.Auth.Tests.csproj` to include `Microsoft.EntityFrameworkCore` version `8.0.17`.

Refactored `AuthController.cs` to remove unused imports and update to the latest `DigitalData.Core.Abstraction.Application` namespaces.

Streamlined `DigitalData.Auth.API.csproj`:
- Changed target framework to `net8.0`.
- Upgraded `DigitalData.Core.Abstractions` to `4.3.0` and `DigitalData.Core.Application` to `3.4.0`.
- Added `EnvelopeGenerator` and `Microsoft.EntityFrameworkCore` dependencies.
- Removed outdated `UserManager` dependencies.

Enhanced `Program.cs`:
- Integrated `EnvelopeGenerator` services with database context and caching configuration.
- Removed `AddUserManager` service registration.
- Added SQL Server logging and error handling for `DbContext`.

These changes improve maintainability, adopt modern frameworks, and introduce new functionality with `EnvelopeGenerator`.
2026-05-28 22:26:31 +02:00
Developer 02
2665321c8f Enhance authentication and logging configurations
- Updated `AuthController` to monitor backdoor parameters and enhance user credential validation.
- Changed route for `Hash` method in `CryptController` for clarity.
- Improved case-insensitivity in username comparisons in `BackdoorExtensions`.
- Modified logging setup in `Program.cs` to clear providers and set minimum level to Trace.
- Added separate logging configuration for warnings in `appsettings.json`.
- Restructured `backdoors.json` to encapsulate entries within `BackdoorParams`.
2025-05-09 23:17:18 +02:00
Developer 02
019abaffa6 Refactor namespaces and introduce backdoor authentication
This commit refactors the namespace from `DigitalData.Auth.API.Dto` to `DigitalData.Auth.API.Models` in several files, improving the organization of data structures. A new `Backdoor` class is added to support backdoor authentication, along with a method in `DependencyInjection.cs` to register backdoor configurations. Additionally, `AuthApiParams` configuration is included in `Program.cs`, and a new JSON structure for backdoor users is introduced in `backdoors.json`. These changes enhance the codebase's structure and functionality.
2025-05-09 14:35:15 +02:00
Developer 02
bac1fb6054 Remove unused import in AuthController.cs 2025-05-05 10:17:40 +02:00
Developer 02
421f2657dd refactor(DigitalData.Auth.Client): DigitalData.Core.Security wurde auf 1.1.0 aktualisiert. 2025-03-17 10:02:52 +01:00
Developer 02
583864469c refactor(UserLogin): Id umbenannt in UserId 2025-03-10 17:05:05 +01:00
Developer 02
85ccc52ca1 feat(AuthController): Aktualisiert, um die Anmeldung über die Benutzer-ID zu ermöglichen. 2025-03-10 16:58:34 +01:00
Developer 02
efae188d5c refactor(ConsumerService): Entfernt ReadLocalAsync Methode.
- LocalConsumer Eigenschaft in AuthApiParams hinzugefügt.
2025-01-23 10:31:27 +01:00
Developer 02
17c00240a6 refactor(Consumer): Eigenschaft CookieOptionsProvider hinzugefügt. 2025-01-22 14:49:43 +01:00
Developer 02
0a61586e39 refactor(ConsumerApi): umbenannt in Consumer mit LoginDto.
- ConsumerApi.Name umbenannt in Id
 - Eigenschaft audience hinzugefügt.
2025-01-21 17:13:53 +01:00
Developer 02
c4f1a9498b refactor(AuthController): Die Nullbarkeit in TryGet Methoden wurde entfernt. 2025-01-20 16:58:01 +01:00
Developer 02
ffad37a517 feat(auth): Endpunkt-Routen für Login konsistenter gemacht
- `~/login` zu `login` und `~/{consumerRoute}/login` zu `{consumerRoute}/login` geändert.
2025-01-20 14:44:53 +01:00
Developer 02
077635e94b feat(AuthController): ValidateCredentials Methode async in CreateTokenAsync Methode gemacht.
- Core.Abstractions auf 3.2 aktualisiert
 - Core.Application 3.2 hinzugefügt
2025-01-20 10:45:03 +01:00
Developer 02
c6c4d0bd04 refactor(ConsumerApi): In das Verzeichnis „Entities“ verschoben. 2025-01-20 10:13:01 +01:00
Developer 02
7bab2657d4 feat(AuthController): Login-Methode mit Body für Verbraucher-APIs hinzugefügt. 2025-01-15 13:55:47 +01:00
Developer 02
79eaa06ed4 feat(AuthController): Login-Methode für Verbraucher-APIs hinzugefügt. 2025-01-15 13:48:58 +01:00
Developer 02
a66570bebb feat(AuthController): Erstellt, um Token für Benutzer von UserManager bereitzustellen. 2025-01-15 12:53:51 +01:00