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);
15 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 (9)
System\Net\Mail\ISmtpAuthenticationModule.cs (1)
12Authorization? Authenticate(string? challenge, NetworkCredential? credentials, object sessionCookie, string? spn, ChannelBinding? channelBindingToken);
System\Net\Mail\SmtpConnection.cs (5)
270Authorization? auth = SetContextAndTryAuthenticate(_authenticationModules[i], credential, null); 304private Authorization? SetContextAndTryAuthenticate(ISmtpAuthenticationModule module, NetworkCredential? credential, ContextAwareResult? context) 363internal Authorization? _result; 757Authorization? auth = _connection.SetContextAndTryAuthenticate(module, credential, _outerResult); 831Authorization? auth = _connection._authenticationModules[_currentModule].Authenticate(_authResponse, null, _connection, _connection._client!.TargetName, null);
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)
System\Net\AuthenticationManager.cs (2)
18public static Authorization? Authenticate(string challenge, WebRequest request, ICredentials credentials) => 21public static Authorization? PreAuthenticate(WebRequest request, ICredentials credentials) =>
System\Net\IAuthenticationModule.cs (2)
8Authorization? Authenticate(string challenge, WebRequest request, ICredentials credentials); 9Authorization? PreAuthenticate(WebRequest request, ICredentials credentials);