5 instantiations of Authorization
System.Net.Mail (5)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (2)
39return new Authorization(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(userName)), false); 45return new Authorization(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(cachedCredential.Password)), true);
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (1)
77return new Authorization(resp, clientContext.IsAuthenticated);
System\Net\Mail\SmtpNtlmAuthenticationModule.cs (2)
51return new Authorization(resp, false); 57return new Authorization(resp, true);
12 references to Authorization
netstandard (1)
netstandard.cs (1)
1066[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Authorization))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
593[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Authorization))]
System.Net.Mail (6)
System\Net\Mail\ISmtpAuthenticationModule.cs (1)
12Authorization? Authenticate(string? challenge, NetworkCredential? credentials, object sessionCookie, string? spn, ChannelBinding? channelBindingToken);
System\Net\Mail\SmtpConnection.cs (2)
207Authorization? auth = SetContextAndTryAuthenticate(_authenticationModules[i], credential); 309private Authorization? SetContextAndTryAuthenticate(ISmtpAuthenticationModule module, NetworkCredential? credential)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (1)
17public Authorization? Authenticate(string? challenge, NetworkCredential? credential, object sessionCookie, string? spn, ChannelBinding? channelBindingToken)
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (1)
21public Authorization? Authenticate(string? challenge, NetworkCredential? credential, object sessionCookie, string? spn, ChannelBinding? channelBindingToken)
System\Net\Mail\SmtpNtlmAuthenticationModule.cs (1)
18public Authorization? Authenticate(string? challenge, NetworkCredential? credential, object sessionCookie, string? spn, ChannelBinding? channelBindingToken)
System.Net.Requests (4)
artifacts\obj\System.Net.Requests\Debug\net10.0\System.Net.Requests.notsupported.cs (4)
16public static System.Net.Authorization? Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 17public static System.Net.Authorization? PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 287System.Net.Authorization? Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials); 288System.Net.Authorization? PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials);