From 779cfd265a5d82bcaa00268c1245b9f70ad74bd7 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Tue, 27 Jun 2017 14:59:21 -0700 Subject: [PATCH] React to HttpAbstractions --- .../AuthenticationHandler.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.HttpSys/AuthenticationHandler.cs b/src/Microsoft.AspNetCore.Server.HttpSys/AuthenticationHandler.cs index 9b3e4637b0..f8edd9ccd7 100644 --- a/src/Microsoft.AspNetCore.Server.HttpSys/AuthenticationHandler.cs +++ b/src/Microsoft.AspNetCore.Server.HttpSys/AuthenticationHandler.cs @@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys { return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(_requestContext.User, properties: null, authenticationScheme: _scheme.Name))); } - return Task.FromResult(AuthenticateResult.None()); + return Task.FromResult(AuthenticateResult.NoResult()); } public Task ChallengeAsync(AuthenticationProperties properties) @@ -49,15 +49,5 @@ namespace Microsoft.AspNetCore.Server.HttpSys return Task.CompletedTask; } - - public Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties) - { - throw new NotSupportedException(); - } - - public Task SignOutAsync(AuthenticationProperties properties) - { - return Task.CompletedTask; - } } } \ No newline at end of file