// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.Authentication.Utility { /// /// Configuration used by to perform AAD authentication using MSAL.NET /// public class AuthenticatorConfiguration { /// /// Application Client ID to be used. /// public string AppClientId { get; set; } /// /// Application name used for public client application instantiation. /// public string AppName { get; set; } /// /// Cache folder path, to be used by MSAL.NET to store encrypted token cache. /// public string CacheFolderPath { get; set; } /// /// File name to be used for token storage. /// Full path of file: \ /// public string CacheFileName { get; set; } public AuthenticatorConfiguration(string appClientId, string appName, string cacheFolderPath, string cacheFileName) { AppClientId = appClientId; AppName = appName; CacheFolderPath = cacheFolderPath; CacheFileName = cacheFileName; } } }