From 824051cb2849e81d480c0ce2a02e94ea7d27cbd8 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 29 Jun 2017 16:29:00 -0700 Subject: [PATCH] React to auth --- .../AuthenticationHandler.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.IISIntegration/AuthenticationHandler.cs b/src/Microsoft.AspNetCore.Server.IISIntegration/AuthenticationHandler.cs index 30905d4149..ca21ff6011 100644 --- a/src/Microsoft.AspNetCore.Server.IISIntegration/AuthenticationHandler.cs +++ b/src/Microsoft.AspNetCore.Server.IISIntegration/AuthenticationHandler.cs @@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration } else { - return Task.FromResult(AuthenticateResult.None()); + return Task.FromResult(AuthenticateResult.NoResult()); } } @@ -77,15 +77,5 @@ namespace Microsoft.AspNetCore.Server.IISIntegration _context = context; return Task.CompletedTask; } - - public Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties) - { - throw new NotSupportedException(); - } - - public Task SignOutAsync(AuthenticationProperties properties) - { - return Task.CompletedTask; - } } }