All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Added Role to AuthResponse DTO and all auth endpoints - Fixed null config handling in MistralConnector, TtsService, VoskService, MistralService - Fixed BaseAddress setup in MistralConnector to work without API key - Reverted seed data to use hardcoded bcrypt hashes (compatible with PasswordHasher) - Added integration tests for StoryController - Added unit tests for MistralConnector - Updated frontend AuthResponse type to include role Fixes admin redirect to /, story generation null reference, and Docker build failures. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
15 lines
546 B
C#
15 lines
546 B
C#
namespace GermanApp.Application.DTOs.Auth;
|
|
|
|
/// <summary>
|
|
/// DTO for authentication response containing JWT token and refresh token.
|
|
/// </summary>
|
|
public record AuthResponse
|
|
{
|
|
public int UserId { get; init; }
|
|
public string Username { get; init; } = string.Empty;
|
|
public string Email { get; init; } = string.Empty;
|
|
public string Role { get; init; } = string.Empty;
|
|
public string Token { get; init; } = string.Empty;
|
|
public string RefreshToken { get; init; } = string.Empty;
|
|
public DateTime ExpiresAt { get; init; }
|
|
}
|