-
Notifications
You must be signed in to change notification settings - Fork 17
/
AzureAdConfig.cs
83 lines (75 loc) · 2.62 KB
/
AzureAdConfig.cs
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace SignInMaui.MSALClient
{
/// <summary>
/// App settings, populated from appsettings.json file
/// </summary>
public class AzureAdConfig
{
/// <summary>
/// Gets or sets the Azure AD authority.
/// </summary>
/// <value>
/// The Azure AD authority URL.
/// </value>
/// <remarks>
/// - For Work or School account in your org, use your tenant ID, or domain
/// - for any Work or School accounts, use organizations
/// - for any Work or School accounts, or Microsoft personal account, use common
/// - for Microsoft Personal account, use consumers
/// </remarks>
public string Authority { get; set; }
/// <summary>
/// Gets or sets the login instance for your CIAM tenant. In CIAM usually of the form https://YOUR_DOMAIN.b2clogin.com
/// </summary>
/// <value>
/// The login instance for your CIAM tenant
/// </value>
public string Instance { get; set; }
/// <summary>
/// Gets or sets the client Id (App Id) from the app registration in the Azure AD portal.
/// </summary>
/// <value>
/// The client identifier.
/// </value>
public string ClientId { get; set; }
/// <summary>
/// Gets or sets the tenant identifier (tenant Id/directory id) of the Azure AD tenant where the app registration exists.
/// </summary>
/// <value>
/// The tenant identifier.
/// </value>
public string TenantId { get; set; }
/// <summary>
/// Gets or sets the file name of the token cache file.
/// </summary>
/// <value>
/// The name of the cache file.
/// </value>
public string CacheFileName { get; set; }
/// <summary>
/// Gets or sets the token cache file dir.
/// </summary>
/// <value>
/// The cache dir.
/// </value>
public string CacheDir { get; set; }
/// <summary>
/// Gets or sets the android redirect URI.
/// </summary>
/// <value>
/// The android redirect URI.
/// </value>
/// <autogeneratedoc />
public string AndroidRedirectUri { get; set; }
/// <summary>
/// Gets or sets the iOS redirect URI.
/// </summary>
/// <value>
/// The iOS redirect URI.
/// </value>
/// <autogeneratedoc />
public string iOSRedirectUri { get; set; }
}
}