Remove keycloak and add missing functions

This commit is contained in:
2026-05-09 19:36:49 +02:00
parent b28edbbd3a
commit 57a5358701
22 changed files with 89 additions and 313 deletions
@@ -6,16 +6,14 @@ namespace Musify.Infrastructure.Configuration
{
public const string SectionName = "InfrastructureStorage";
[Required]
[Url]
[Required]
public required string Address { get; set; }
[Required]
[MinLength(3)]
public required string AccessKey { get; set; }
[Required]
[MinLength(8)]
public required string SecretAccessKey { get; set; }
[Required]
@@ -1,21 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Musify.Infrastructure.Configuration
{
public class KeycloakConfiguration
{
public const string SectionName = "Keycloak";
[Required]
public required string Address { get; set; }
[Required]
public required string Realm { get; set; }
[Required]
public required string Username { get; set; }
[Required]
public required string Password { get; set; }
}
}
@@ -6,8 +6,8 @@ namespace Musify.Infrastructure.Configuration
{
public const string SectionName = "OpenTelemetry";
[Required]
[Url]
[Required]
public required string OtlpEndpoint { get; set; }
}
}