zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Tenants/TenantInfo.cs

17 lines
470 B
C#
Raw Permalink Normal View History

2023-12-05 09:22:48 +00:00
namespace ZeroFramework.IdentityServer.API.Tenants
{
public class TenantInfo(Guid? tenantId, string? name = null)
{
/// <summary>
/// Null indicates the host.
/// Not null value for a tenant.
/// </summary>
public Guid? TenantId { get; } = tenantId;
/// <summary>
/// Name of the tenant if <see cref="TenantId"/> is not null.
/// </summary>
public string? Name { get; } = name;
}
}