Revert breaking parameter rename

This commit is contained in:
Ryan Brandenburg 2016-11-08 10:32:46 -08:00
parent 415055ebab
commit 96c27fa393
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
/// Redirect user to the identity provider for sign out /// Redirect user to the identity provider for sign out
/// </summary> /// </summary>
/// <returns>A task executing the sign out procedure</returns> /// <returns>A task executing the sign out procedure</returns>
protected override async Task HandleSignOutAsync(SignOutContext context) protected override async Task HandleSignOutAsync(SignOutContext signout)
{ {
Logger.EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(GetType().FullName); Logger.EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(GetType().FullName);
@ -168,7 +168,7 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
}; };
// Get the post redirect URI. // Get the post redirect URI.
var properties = new AuthenticationProperties(context.Properties); var properties = new AuthenticationProperties(signout.Properties);
if (string.IsNullOrEmpty(properties.RedirectUri)) if (string.IsNullOrEmpty(properties.RedirectUri))
{ {
properties.RedirectUri = BuildRedirectUriIfRelative(Options.PostLogoutRedirectUri); properties.RedirectUri = BuildRedirectUriIfRelative(Options.PostLogoutRedirectUri);