Fix whitespaces

This commit is contained in:
Javier Calvarro Nelson 2018-02-09 15:07:33 -08:00
parent 1f3a26051d
commit e81e124586
1 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ namespace Company.WebApplication1.Controllers
[HttpGet] [HttpGet]
public IActionResult SignIn() public IActionResult SignIn()
{ {
var redirectUrl = Url.Action(nameof(HomeController.Index), "Home"); var redirectUrl = Url.Action(nameof(HomeController.Index), "Home");
return Challenge( return Challenge(
new AuthenticationProperties { RedirectUri = redirectUrl }, new AuthenticationProperties { RedirectUri = redirectUrl },
OpenIdConnectDefaults.AuthenticationScheme OpenIdConnectDefaults.AuthenticationScheme
@ -60,7 +60,7 @@ namespace Company.WebApplication1.Controllers
[HttpGet] [HttpGet]
public IActionResult SignIn() public IActionResult SignIn()
{ {
var redirectUrl = Url.Action(nameof(HomeController.Index), "Home"); var redirectUrl = Url.Action(nameof(HomeController.Index), "Home");
return Challenge( return Challenge(
new AuthenticationProperties { RedirectUri = redirectUrl }, new AuthenticationProperties { RedirectUri = redirectUrl },
OpenIdConnectDefaults.AuthenticationScheme OpenIdConnectDefaults.AuthenticationScheme
@ -70,7 +70,7 @@ namespace Company.WebApplication1.Controllers
[HttpGet] [HttpGet]
public IActionResult ResetPassword() public IActionResult ResetPassword()
{ {
var redirectUrl = Url.Action(nameof(HomeController.Index), "Home"); var redirectUrl = Url.Action(nameof(HomeController.Index), "Home");
var properties = new AuthenticationProperties { RedirectUri = redirectUrl }; var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
properties.Items[AzureAdB2COptions.PolicyAuthenticationProperty] = _options.ResetPasswordPolicyId; properties.Items[AzureAdB2COptions.PolicyAuthenticationProperty] = _options.ResetPasswordPolicyId;
return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme); return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme);
@ -79,7 +79,7 @@ namespace Company.WebApplication1.Controllers
[HttpGet] [HttpGet]
public IActionResult EditProfile() public IActionResult EditProfile()
{ {
var redirectUrl = Url.Action(nameof(HomeController.Index), "Home"); var redirectUrl = Url.Action(nameof(HomeController.Index), "Home");
var properties = new AuthenticationProperties { RedirectUri = redirectUrl }; var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
properties.Items[AzureAdB2COptions.PolicyAuthenticationProperty] = _options.EditProfilePolicyId; properties.Items[AzureAdB2COptions.PolicyAuthenticationProperty] = _options.EditProfilePolicyId;
return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme); return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme);
@ -95,7 +95,7 @@ namespace Company.WebApplication1.Controllers
OpenIdConnectDefaults.AuthenticationScheme); OpenIdConnectDefaults.AuthenticationScheme);
} }
[HttpGet] [HttpGet]
public IActionResult SignedOut() public IActionResult SignedOut()
{ {
if (User.Identity.IsAuthenticated) if (User.Identity.IsAuthenticated)