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