15 references to IsValidContext
System (15)
net\System\Net\_NegotiateClient.cs (1)
126
httpWebRequest.NtlmKeepAlive = incoming==null && authSession.
IsValidContext
&& !authSession.IsKerberos;
net\System\Net\_NTAuthentication.cs (8)
183
if (!(
IsValidContext
&& IsCompleted))
239
GlobalLog.Assert(IsCompleted &&
IsValidContext
, "NTAuthentication#{0}::OSSupportsExtendedProtection|The context is not completed or invalid.", ValidationHelper.HashString(this));
295
if (
IsValidContext
)
314
GlobalLog.Assert(IsCompleted &&
IsValidContext
, "NTAuthentication#{0}::MaxDataSize|The context is not completed or invalid.", ValidationHelper.HashString(this));
577
GlobalLog.Assert(IsCompleted &&
IsValidContext
, "NTAuthentication#{0}::GetContextToken|Should be called only when completed with success, currently is not!", ValidationHelper.HashString(this));
580
if (!
IsValidContext
) {
626
if ((
IsValidContext
|| IsCompleted) && decodedIncomingBlob == null) {
1074
GlobalLog.Assert(
IsValidContext
&& IsCompleted, "NTAuthentication: Trying to get the client SPN before handshaking is done!");
net\System\Net\HttpListener.cs (4)
1561
GlobalLog.Print("HttpListener#" + ValidationHelper.HashString(this) + "::HandleAuthentication() verb:" + verb + " context.IsValidContext:" + context.
IsValidContext
.ToString());
1573
if (context.
IsValidContext
)
1653
error = !context.
IsValidContext
;
2259
if (context.
IsValidContext
)
net\System\Net\SecureProtocols\_NegoState.cs (2)
137
if (_Context != null && _Context.
IsValidContext
) {
315
return _Context.IsCompleted && _Context.
IsValidContext
;