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)
103if (_negotiateState?.IsCompleted == false) 118if (_negotiateState?.IsCompleted == false) 126if (_negotiateState?.IsCompleted == true) 129_negotiateState.Dispose(); 136var outgoing = _negotiateState.GetOutgoingBlob(token, out var errorType, out var exception); 142_negotiateState.Dispose(); 173if (!_negotiateState.IsCompleted) 178persistence.State = _negotiateState; 204if (_negotiateState.Protocol == "NTLM" && !Options.PersistNtlmCredentials) 208Debug.Assert(object.ReferenceEquals(persistence?.State, _negotiateState), 210Logger.DisablingCredentialPersistence(_negotiateState.Protocol); 212Response.RegisterForDispose(_negotiateState); 214else if (_negotiateState.Protocol == "Kerberos") 221persistence.State = _negotiateState; 227Logger.DisablingCredentialPersistence(_negotiateState.Protocol); 230Response.RegisterForDispose(_negotiateState); 246_negotiateState?.Dispose(); 310if (_negotiateState == null) 315if (!_negotiateState.IsCompleted) 323var identity = _negotiateState.GetIdentity();