1 type derived from AuthenticationException
System.Net.Security (1)
42 instantiations of AuthenticationException
Microsoft.AspNetCore.Server.Kestrel.Core (2)
System.DirectoryServices (1)
System.DirectoryServices.AccountManagement (1)
System.Net.Quic (6)
System.Net.Security (32)
System\Net\Security\NegotiateStream.cs (11)
775new AuthenticationException(SR.net_auth_bad_client_creds_or_target_mismatch),
777new AuthenticationException(SR.net_auth_bad_client_creds_or_target_mismatch),
779new AuthenticationException(SR.Format(SR.net_auth_context_expectation, _expectedImpersonationLevel.ToString(), PrivateImpersonationLevel.ToString())),
781new AuthenticationException(SR.Format(SR.net_auth_context_expectation, _context.ProtectionLevel.ToString(), _expectedProtectionLevel.ToString())),
841_ => new AuthenticationException(SR.net_auth_SSPI, win32Exception)
874throw new AuthenticationException(SR.net_auth_eof);
887throw new AuthenticationException(SR.net_auth_alert);
905throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeId));
913throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeDoneId));
944ERROR_TRUST_FAILURE => new AuthenticationException(SR.net_auth_context_expectation_remote, e),
945_ => new AuthenticationException(SR.net_auth_alert, e)
System\Net\Security\SslStream.IO.cs (10)
252exception = new AuthenticationException(SR.net_auth_SSPI, exception);
362throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
412throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.GetException());
423throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
564throw new AuthenticationException(SR.net_ssl_io_frame);
590throw new AuthenticationException(SR.net_frame_read_size);
717return ExceptionDispatchInfo.SetCurrentStackTrace(new AuthenticationException(SR.net_ssl_io_cert_custom_validation, null));
722return ExceptionDispatchInfo.SetCurrentStackTrace(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_chain_validation, chainStatus), null));
727return ExceptionDispatchInfo.SetCurrentStackTrace(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_validation, sslPolicyErrors), null));
1135throw new AuthenticationException(SR.net_frame_read_size);
19 references to AuthenticationException
aspire (1)
Aspire.Hosting.Native.Server (2)
dotnet-svcutil-lib (2)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
netstandard (1)
System (1)
System.DirectoryServices.AccountManagement (1)
System.Net.Http (1)
System.Net.Mail (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (3)
System.ServiceModel.Http (1)
System.ServiceModel.NetFramingBase (2)