25 references to NegotiationInfoClass
System.Net.Security (25)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
283public override string Package => NegotiationInfoClass.NTLM; 300Debug.Assert(clientOptions.Package == NegotiationInfoClass.NTLM);
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (6)
76public override string Package => _mechanism?.Package ?? NegotiationInfoClass.Negotiate; 83Debug.Assert(clientOptions.Package == NegotiationInfoClass.Negotiate); 134yield return new KeyValuePair<string, string>(NegotiationInfoClass.Kerberos, KerberosOid); 137yield return new KeyValuePair<string, string>(NegotiationInfoClass.NTLM, NtlmOid); 285NtlmOid => NegotiationInfoClass.NTLM, 286KerberosOid => NegotiationInfoClass.Kerberos,
System\Net\NegotiateAuthenticationPal.Unix.cs (10)
31case NegotiationInfoClass.NTLM: 34case NegotiationInfoClass.Negotiate: 157(_contextFlags & Interop.NetSecurityNative.GssFlags.GSS_C_DELEG_FLAG) != 0 && Package != NegotiationInfoClass.NTLM ? TokenImpersonationLevel.Delegation : 457if (string.Equals(package, NegotiationInfoClass.Negotiate, StringComparison.OrdinalIgnoreCase)) 461else if (string.Equals(package, NegotiationInfoClass.NTLM, StringComparison.OrdinalIgnoreCase)) 465else if (string.Equals(package, NegotiationInfoClass.Kerberos, StringComparison.OrdinalIgnoreCase)) 649_package = isNtlmUsed ? NegotiationInfoClass.NTLM : NegotiationInfoClass.Kerberos; 721_package = isNtlmUsed ? NegotiationInfoClass.NTLM : NegotiationInfoClass.Kerberos;
System\Net\Security\NegotiateAuthentication.cs (1)
408if (_pal.Package == NegotiationInfoClass.Kerberos)
System\Net\Security\NegotiateAuthenticationClientOptions.cs (1)
46public string Package { get; set; } = NegotiationInfoClass.Negotiate;
System\Net\Security\NegotiateAuthenticationServerOptions.cs (1)
30public string Package { get; set; } = NegotiationInfoClass.Negotiate;
System\Net\Security\NegotiateStream.cs (4)
32private const string DefaultPackage = NegotiationInfoClass.Negotiate; 226!string.Equals(_context.Package, NegotiationInfoClass.NTLM) && // suppressing for NTLM since SSPI does not return correct value in the context flags. 673package = NegotiationInfoClass.NTLM; 796isNtlm = string.Equals(_context.Package, NegotiationInfoClass.NTLM);