5 writes to _negotiateState
Microsoft.AspNetCore.Authentication.Negotiate (5)
NegotiateHandler.cs (5)
95
_negotiateState
= persistence?.State;
128
_negotiateState
= null;
135
_negotiateState
??= Options.StateFactory.CreateInstance();
144
_negotiateState
= null;
248
_negotiateState
= null;
20 references to _negotiateState
Microsoft.AspNetCore.Authentication.Negotiate (20)
NegotiateHandler.cs (20)
101
if (
_negotiateState
?.IsCompleted == false)
116
if (
_negotiateState
?.IsCompleted == false)
124
if (
_negotiateState
?.IsCompleted == true)
127
_negotiateState
.Dispose();
137
var outgoing =
_negotiateState
.GetOutgoingBlob(token, out var errorType, out var exception);
143
_negotiateState
.Dispose();
174
if (!
_negotiateState
.IsCompleted)
179
persistence.State =
_negotiateState
;
205
if (
_negotiateState
.Protocol == "NTLM" && !Options.PersistNtlmCredentials)
209
Debug.Assert(object.ReferenceEquals(persistence?.State,
_negotiateState
),
211
Logger.DisablingCredentialPersistence(
_negotiateState
.Protocol);
213
Response.RegisterForDispose(
_negotiateState
);
215
else if (
_negotiateState
.Protocol == "Kerberos")
222
persistence.State =
_negotiateState
;
228
Logger.DisablingCredentialPersistence(
_negotiateState
.Protocol);
231
Response.RegisterForDispose(
_negotiateState
);
247
_negotiateState
?.Dispose();
311
if (
_negotiateState
== null)
316
if (!
_negotiateState
.IsCompleted)
324
var identity =
_negotiateState
.GetIdentity();