Files
SharepointToolbox-Web/Core/Models/TenantProfile.cs
T
2026-06-02 10:56:03 +02:00

19 lines
677 B
C#

namespace SharepointToolbox.Web.Core.Models;
public class TenantProfile
{
public string Id { get; set; } = Guid.NewGuid().ToString();
public string Name { get; set; } = string.Empty;
/// <summary>https://contoso.sharepoint.com</summary>
public string TenantUrl { get; set; } = string.Empty;
/// <summary>Azure AD tenant GUID or domain (e.g. contoso.onmicrosoft.com). Required for app-only Graph calls.</summary>
public string TenantId { get; set; } = string.Empty;
/// <summary>Azure AD app registration client (application) ID.</summary>
public string ClientId { get; set; } = string.Empty;
public LogoData? ClientLogo { get; set; }
}