Remove keycloak and add missing functions
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user