Skip to content
Prev Previous commit
Next Next commit
Run code cleanup
Run code cleanup fromm Visual Studio 2019 16.1.
  • Loading branch information
martincostello committed May 25, 2019
commit 05672dcb4585d84415e2bde80a5bc75ccec9de13
1 change: 0 additions & 1 deletion samples/Mvc.Client/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using AspNet.Security.OpenId;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
return context.Ticket;
}

private new OpenIdAuthenticationEvents Events => (OpenIdAuthenticationEvents) base.Events;
private new OpenIdAuthenticationEvents Events => (OpenIdAuthenticationEvents)base.Events;
}
}
4 changes: 2 additions & 2 deletions src/AspNet.Security.OpenId/OpenIdAuthenticationHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ protected override async Task HandleChallengeAsync(AuthenticationProperties prop
value: string.Join(",", Options.Attributes.Select(attribute => attribute.Key)));
}

var address = QueryHelpers.AddQueryString(configuration.AuthenticationEndpoint,
var address = QueryHelpers.AddQueryString(configuration.AuthenticationEndpoint,
message.GetParameters()
.ToDictionary(parameter => parameter.Key,
parameter => parameter.Value));
Expand Down Expand Up @@ -434,6 +434,6 @@ private async Task<bool> VerifyAssertionAsync([NotNull] OpenIdAuthenticationMess
return true;
}

private new OpenIdAuthenticationEvents Events => (OpenIdAuthenticationEvents) base.Events;
private new OpenIdAuthenticationEvents Events => (OpenIdAuthenticationEvents)base.Events;
}
}