28 references to NegotiateAuthenticationStatusCode
Microsoft.AspNetCore.Authentication.Negotiate (14)
Internal\NegotiateState.cs (14)
22var outgoingBlob = _instance.GetOutgoingBlob(incomingBlob, out var authStatus); 24if (authStatus == NegotiateAuthenticationStatusCode.Completed || 25authStatus == NegotiateAuthenticationStatusCode.ContinueNeeded) 71private static bool IsCredentialError(NegotiateAuthenticationStatusCode error) 73return error == NegotiateAuthenticationStatusCode.UnknownCredentials || 74error == NegotiateAuthenticationStatusCode.CredentialsExpired || 75error == NegotiateAuthenticationStatusCode.BadBinding; 78private static bool IsClientError(NegotiateAuthenticationStatusCode error) 80return error == NegotiateAuthenticationStatusCode.InvalidToken || 81error == NegotiateAuthenticationStatusCode.QopNotSupported || 82error == NegotiateAuthenticationStatusCode.UnknownCredentials || 83error == NegotiateAuthenticationStatusCode.MessageAltered || 84error == NegotiateAuthenticationStatusCode.OutOfSequence || 85error == NegotiateAuthenticationStatusCode.InvalidCredentials;
System.Net.Mail (9)
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (6)
54NegotiateAuthenticationStatusCode statusCode; 61if (statusCode != NegotiateAuthenticationStatusCode.Completed && 62statusCode != NegotiateAuthenticationStatusCode.ContinueNeeded) 119NegotiateAuthenticationStatusCode statusCode; 122if (statusCode != NegotiateAuthenticationStatusCode.Completed) 168if (statusCode != NegotiateAuthenticationStatusCode.Completed)
System\Net\Mail\SmtpNtlmAuthenticationModule.cs (3)
40NegotiateAuthenticationStatusCode statusCode; 43if (statusCode != NegotiateAuthenticationStatusCode.Completed && 44statusCode != NegotiateAuthenticationStatusCode.ContinueNeeded)
System.Net.Security (5)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (5)
56public byte[]? GetOutgoingBlob(System.ReadOnlySpan<byte> incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 57public string? GetOutgoingBlob(string? incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 58public System.Net.Security.NegotiateAuthenticationStatusCode Unwrap(System.ReadOnlySpan<byte> input, System.Buffers.IBufferWriter<byte> outputWriter, out bool wasEncrypted) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 59public System.Net.Security.NegotiateAuthenticationStatusCode UnwrapInPlace(System.Span<byte> input, out int unwrappedOffset, out int unwrappedLength, out bool wasEncrypted) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } 61public System.Net.Security.NegotiateAuthenticationStatusCode Wrap(System.ReadOnlySpan<byte> input, System.Buffers.IBufferWriter<byte> outputWriter, bool requestEncryption, out bool isEncrypted) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }