namespace DigitalData.Auth.API.Config { public class Consumer { public required string Route { get; init; } public required string Audience { get; init; } private CookieOptionsProvider? _cookieOptions; public CookieOptionsProvider CookieOptions { get => _cookieOptions ?? Parent?.DefaultCookieOptions; init => _cookieOptions = value; } #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public AuthApiParams Parent { private get; set; } #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. } }