Premier commit
This commit is contained in:
@@ -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; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user