React to HttpAbstractions
This commit is contained in:
parent
432c4c32b2
commit
779cfd265a
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue