5 writes to _negotiateState
Microsoft.AspNetCore.Authentication.Negotiate (5)
NegotiateHandler.cs (5)
97
_negotiateState
= persistence?.State;
130
_negotiateState
= null;
134
_negotiateState
??= Options.StateFactory.CreateInstance(GetChannelBindingToken());
143
_negotiateState
= null;
247
_negotiateState
= null;
20 references to _negotiateState
Microsoft.AspNetCore.Authentication.Negotiate (20)
NegotiateHandler.cs (20)
103
if (
_negotiateState
?.IsCompleted == false)
118
if (
_negotiateState
?.IsCompleted == false)
126
if (
_negotiateState
?.IsCompleted == true)
129
_negotiateState
.Dispose();
136
var outgoing =
_negotiateState
.GetOutgoingBlob(token, out var errorType, out var exception);
142
_negotiateState
.Dispose();
173
if (!
_negotiateState
.IsCompleted)
178
persistence.State =
_negotiateState
;
204
if (
_negotiateState
.Protocol == "NTLM" && !Options.PersistNtlmCredentials)
208
Debug.Assert(object.ReferenceEquals(persistence?.State,
_negotiateState
),
210
Logger.DisablingCredentialPersistence(
_negotiateState
.Protocol);
212
Response.RegisterForDispose(
_negotiateState
);
214
else if (
_negotiateState
.Protocol == "Kerberos")
221
persistence.State =
_negotiateState
;
227
Logger.DisablingCredentialPersistence(
_negotiateState
.Protocol);
230
Response.RegisterForDispose(
_negotiateState
);
246
_negotiateState
?.Dispose();
310
if (
_negotiateState
== null)
315
if (!
_negotiateState
.IsCompleted)
323
var identity =
_negotiateState
.GetIdentity();