- Flatten nested per-repo folders into flat Musify.* projects at root - Rename assemblies/csproj: Domain->Musify.Domain, Application->Musify.Application, Infrastructure->Musify.Infrastructure, WebApi->Musify.Api, Worker->Musify.Worker, StreamingGateway->Musify.StreamingGateway - Rename WebApi.* namespaces to Musify.Api.* - Update all ProjectReference paths and the solution file - Consolidate stray per-repo dotfiles; add root .gitattributes - Move flutter client out to _archive
22 lines
541 B
C#
22 lines
541 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Musify.Infrastructure.Configuration
|
|
{
|
|
public class StreamTicketConfiguration
|
|
{
|
|
public const string SectionName = "StreamTicket";
|
|
|
|
[Required]
|
|
public required string PrivateKeyPath { get; set; }
|
|
|
|
[Required]
|
|
public string Audience { get; set; } = "media-gateway";
|
|
|
|
[Required]
|
|
public string Issuer { get; set; } = "musify-webapi";
|
|
|
|
[Range(60, 86400)]
|
|
public int TicketTtlSeconds { get; set; } = 3600;
|
|
}
|
|
}
|