5 instantiations of Authorization
System.Net.Mail (5)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (2)
39
return new
Authorization
(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(userName)), false);
45
return new
Authorization
(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(cachedCredential.Password)), true);
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (1)
77
return new
Authorization
(resp, clientContext.IsAuthenticated);
System\Net\Mail\SmtpNtlmAuthenticationModule.cs (2)
51
return new
Authorization
(resp, false);
57
return 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)
12
Authorization
? Authenticate(string? challenge, NetworkCredential? credentials, object sessionCookie, string? spn, ChannelBinding? channelBindingToken);
System\Net\Mail\SmtpConnection.cs (2)
207
Authorization
? auth = SetContextAndTryAuthenticate(_authenticationModules[i], credential);
309
private
Authorization
? SetContextAndTryAuthenticate(ISmtpAuthenticationModule module, NetworkCredential? credential)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (1)
17
public
Authorization
? Authenticate(string? challenge, NetworkCredential? credential, object sessionCookie, string? spn, ChannelBinding? channelBindingToken)
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (1)
21
public
Authorization
? Authenticate(string? challenge, NetworkCredential? credential, object sessionCookie, string? spn, ChannelBinding? channelBindingToken)
System\Net\Mail\SmtpNtlmAuthenticationModule.cs (1)
18
public
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)
16
public static System.Net.
Authorization
? Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
17
public static System.Net.
Authorization
? PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
287
System.Net.
Authorization
? Authenticate(string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials);
288
System.Net.
Authorization
? PreAuthenticate(System.Net.WebRequest request, System.Net.ICredentials credentials);