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