19 lines
677 B
C#
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; }
|
|
}
|