1 write to _requestContext
Microsoft.AspNetCore.Server.HttpSys (1)
AuthenticationHandler.cs (1)
39
_requestContext
= context.Features.Get<RequestContext>();
5 references to _requestContext
Microsoft.AspNetCore.Server.HttpSys (5)
AuthenticationHandler.cs (5)
16
var identity =
_requestContext
!.User?.Identity;
19
return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(
_requestContext
.User!, properties: null, authenticationScheme: _scheme!.Name)));
26
_requestContext
!.Response.StatusCode = 401;
32
_requestContext
!.Response.StatusCode = 403;
41
if (
_requestContext
== null)