React to HttpAbstractions

This commit is contained in:
Hao Kung 2017-06-27 14:59:21 -07:00
parent 432c4c32b2
commit 779cfd265a
1 changed files with 1 additions and 11 deletions

View File

@ -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;
}
}
}