-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathHostBuilderOptions.cs
More file actions
54 lines (44 loc) · 1.54 KB
/
HostBuilderOptions.cs
File metadata and controls
54 lines (44 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using AuthApp.Internal;
using Microsoft.Extensions.Logging;
namespace AuthApp
{
internal class HostBuilderOptions
{
/// <summary>
/// Sets Configuration file besides appsettings.json.
/// </summary>
public string? ConfigFile { get; set; }
/// <summary>
/// Provides ability to get troubleshooting information.
/// </summary>
public bool Verbose { get; set; }
/// <summary>
/// TraceLevel if verbose is present.
/// </summary>
public LogLevel Level { get; set; }
/// <summary>
/// Ability to use Web project secrets.
/// </summary>
public bool UserSecrets { get; set; }
/// <summary>
/// Url for the azure key vault i.e. https://{vaultname}.vault.azure.net/.
/// </summary>
public string? AzureVault { get; set; }
/// <summary>
/// Prefix is based on Environment i.e. Development = dev, Production = prod.
/// </summary>
public bool UseAzureKeyPrefix { get; set; }
/// <summary>
/// Pass Hosting environment for the context of the application.
/// </summary>
public string HostingEnviroment { get; set; } = "Production";
/// <summary>
/// Salesforce options.
/// </summary>
public SfConfig? Settings { get; set; }
/// <summary>
/// The name of the configuration section for the options.
/// </summary>
public string SectionName { get; set; } = "Salesforce";
}
}