.NET 10 solution for Ping, a Discord style chat app: Domain, Application and Infrastructure projects plus the Api host. SignalR for chat and presence, LiveKit for call tokens, EF Core on Postgres, S3 compatible storage for attachments, and OIDC auth shared with the Musify Zitadel instance. Includes the Compose stack for local development.
18 lines
401 B
C#
18 lines
401 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Ping.Infrastructure.Configuration
|
|
{
|
|
public class LiveKitConfiguration
|
|
{
|
|
public const string SectionName = "LiveKit";
|
|
|
|
[Required]
|
|
public required string ApiKey { get; set; }
|
|
|
|
[Required]
|
|
public required string ApiSecret { get; set; }
|
|
|
|
public int TokenTtlMinutes { get; set; } = 240;
|
|
}
|
|
}
|