-
Notifications
You must be signed in to change notification settings - Fork 65
/
B2CConstants.cs
21 lines (19 loc) · 1.08 KB
/
B2CConstants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace UserDetailsClient.Core.Features.LogOn
{
public static class B2CConstants
{
// Azure AD B2C Coordinates
public static string Tenant = "fabrikamb2c.onmicrosoft.com";
public static string AzureADB2CHostname = "fabrikamb2c.b2clogin.com";
public static string ClientID = "Enter_the_Application_Id_Here";
public static string PolicySignUpSignIn = "b2c_1_susi";
public static string PolicyEditProfile = "b2c_1_edit_profile";
public static string PolicyResetPassword = "b2c_1_reset";
public static string[] Scopes = { "https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read" };
public static string AuthorityBase = $"https://{AzureADB2CHostname}/tfp/{Tenant}/";
public static string AuthoritySignInSignUp = $"{AuthorityBase}{PolicySignUpSignIn}";
public static string AuthorityEditProfile = $"{AuthorityBase}{PolicyEditProfile}";
public static string AuthorityPasswordReset = $"{AuthorityBase}{PolicyResetPassword}";
public static string IOSKeyChainGroup = "com.microsoft.adalcache";
}
}