public Functions(IConfidentialClientApplication confidentialClientApplication, IGraphServiceClient graphServiceClient, ExtensionService extensionService, AuthorizationService authorizationService, IApiService apiService) { this.confidentialClientApplication = confidentialClientApplication; this.graphServiceClient = graphServiceClient; this.extensionService = extensionService; this.authorizationService = authorizationService; this.apiService = apiService; userProperties = $"{nameof(User.Id)}, {nameof(User.DisplayName)}, {nameof(User.GivenName)}, {nameof(User.Surname)}, {nameof(User.Identities)}, {extensionService.GetExtensionByName(CustomerClaim)}"; }