Premier commit

This commit is contained in:
2026-09-11 14:55:41 +02:00
commit 8ed04aae89
134 changed files with 36627 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
namespace SIFinance.Shared;
// Section "AzureAd" de appsettings*.json — App registration Azure AD "SI Finance",
// utilisée à la fois pour le flux OAuth2 (authorization code + PKCE, connexion
// utilisateur) dans EntraAuthEndpoints et pour l'appel Graph "app-only" (client
// credentials) dans EntraSyncService/EntraGraphTokenProvider. ClientSecret et GroupId
// sont renseignés dans appsettings.Development.json (secrets, non commités).
public class AzureAdOptions
{
public const string SectionName = "AzureAd";
public string TenantId { get; set; } = "";
public string ClientId { get; set; } = "";
public string ClientSecret { get; set; } = "";
public string RedirectUri { get; set; } = "";
public string GroupId { get; set; } = "";
}