forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dotnet#1070 from dotnet/damianedwards/RazorPagesTw…
…eaks Numerous fixes for Razor Pages project template
- Loading branch information
Showing
48 changed files
with
315 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...eb-CSharp/AzureAdB2C/AzureAdB2COptions.cs → ...eb-CSharp/Extensions/AzureAdB2COptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
namespace Microsoft.AspNetCore.Authentication.Extensions | ||
namespace Microsoft.AspNetCore.Authentication | ||
{ | ||
public class AzureAdB2COptions | ||
{ | ||
public const string PolicyAuthenticationProperty = "Policy"; | ||
|
||
public string ClientId { get; set; } | ||
|
||
public string Instance { get; set; } | ||
|
||
public string Domain { get; set; } | ||
|
||
public string EditProfilePolicyId { get; set; } | ||
|
||
public string SignUpSignInPolicyId { get; set; } | ||
|
||
public string ResetPasswordPolicyId { get; set; } | ||
|
||
public string CallbackPath { get; set; } | ||
|
||
public string DefaultPolicy => SignUpSignInPolicyId; | ||
} | ||
} |
7 changes: 6 additions & 1 deletion
7
...PagesWeb-CSharp/AzureAd/AzureAdOptions.cs → ...esWeb-CSharp/Extensions/AzureAdOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
namespace Microsoft.AspNetCore.Authentication.Extensions | ||
namespace Microsoft.AspNetCore.Authentication | ||
{ | ||
public class AzureAdOptions | ||
{ | ||
public string ClientId { get; set; } | ||
|
||
public string ClientSecret { get; set; } | ||
|
||
public string Instance { get; set; } | ||
|
||
public string Domain { get; set; } | ||
|
||
public string TenantId { get; set; } | ||
|
||
public string CallbackPath { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.