12 instantiations of Authorization
System (12)
net\System\Net\_BasicClient.cs (1)
115
return new
Authorization
(responseHeader, true);
net\System\Net\_DigestClient.cs (2)
375
Authorization digestResponse = new
Authorization
(AuthType + " " + clientResponse, authSession.IsCompleted, string.Empty, authSession.IsMutualAuthFlag);
1067
Authorization finalAuthorization = new
Authorization
(DigestClient.AuthType + " " + authorization.ToString(), false);
net\System\Net\_KerberosClient.cs (1)
117
return new
Authorization
(AuthType + " " + clientResponse, authSession.IsCompleted, string.Empty, authSession.IsMutualAuthFlag);
net\System\Net\AuthenticationManager.cs (1)
408
return new
Authorization
(
net\System\Net\mail\SmtpDigestAuthenticationModule.cs (2)
58
return new
Authorization
(resp, false);
63
return new
Authorization
(resp, true);
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (2)
58
return new
Authorization
(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(userName)), false);
65
return new
Authorization
(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(cachedCredential.Password)), true);
net\System\Net\mail\SmtpNegotiateAuthenticationModule.cs (1)
83
return new
Authorization
(resp, clientContext.IsCompleted);
net\System\Net\mail\SmtpNtlmAuthenticationModule.cs (2)
60
return new
Authorization
(resp, false);
65
return new
Authorization
(resp, true);
60 references to Authorization
System (60)
net\System\Net\_AuthenticationManager2.cs (5)
40
public override
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials)
62
Authorization
response = null;
106
public override
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials)
172
Authorization
authorization = authenticationModule.PreAuthenticate(request, credentials);
263
public override void BindModule(Uri uri,
Authorization
response, IAuthenticationModule module)
net\System\Net\_AuthenticationManagerBase.cs (3)
168
public abstract
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials);
186
public abstract
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials);
221
public abstract void BindModule(Uri uri,
Authorization
response, IAuthenticationModule module);
net\System\Net\_AuthenticationManagerDefault.cs (5)
167
public override
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials)
184
Authorization
response = null;
232
public override
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials)
302
Authorization
authorization = authenticationModule.PreAuthenticate(request, credentials);
410
public override void BindModule(Uri uri,
Authorization
response, IAuthenticationModule module)
net\System\Net\_AuthenticationState.cs (2)
32
internal
Authorization
Authorization;
186
Authorization
preauth = null;
net\System\Net\_BasicClient.cs (3)
18
public
Authorization
Authenticate(string challenge, WebRequest webRequest, ICredentials credentials) {
56
public
Authorization
PreAuthenticate(WebRequest webRequest, ICredentials credentials) {
85
private
Authorization
Lookup(HttpWebRequest httpWebRequest, ICredentials credentials) {
net\System\Net\_DigestClient.cs (8)
44
public
Authorization
Authenticate(string challenge, WebRequest webRequest, ICredentials credentials) {
49
private
Authorization
DoAuthenticate(string challenge, WebRequest webRequest, ICredentials credentials, bool preAuthenticate) {
121
Authorization
digestResponse = HttpDigest.Authenticate(digestChallenge, NC, spnToken.Spn, binding);
139
public
Authorization
PreAuthenticate(WebRequest webRequest, ICredentials credentials) {
274
private
Authorization
XPDoAuthenticate(string challenge, HttpWebRequest httpWebRequest, ICredentials credentials, bool preAuthenticate) {
375
Authorization
digestResponse = new Authorization(AuthType + " " + clientResponse, authSession.IsCompleted, string.Empty, authSession.IsMutualAuthFlag);
940
internal static
Authorization
Authenticate(HttpDigestChallenge digestChallenge, NetworkCredential NC, string spn, ChannelBinding binding) {
1067
Authorization
finalAuthorization = new Authorization(DigestClient.AuthType + " " + authorization.ToString(), false);
net\System\Net\_IAuthenticationManager.cs (3)
43
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials);
45
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials);
58
void BindModule(Uri uri,
Authorization
response, IAuthenticationModule module);
net\System\Net\_KerberosClient.cs (3)
20
public
Authorization
Authenticate(string challenge, WebRequest webRequest, ICredentials credentials) {
26
private
Authorization
DoAuthenticate(string challenge, WebRequest webRequest, ICredentials credentials, bool preAuthenticate) {
126
public
Authorization
PreAuthenticate(WebRequest webRequest, ICredentials credentials) {
net\System\Net\_NegotiateClient.cs (3)
18
public
Authorization
Authenticate(string challenge, WebRequest webRequest, ICredentials credentials) {
23
private
Authorization
DoAuthenticate(string challenge, WebRequest webRequest, ICredentials credentials, bool preAuthenticate) {
141
public
Authorization
PreAuthenticate(WebRequest webRequest, ICredentials credentials) {
net\System\Net\_NtlmClient.cs (3)
19
public
Authorization
Authenticate(string challenge, WebRequest webRequest, ICredentials credentials) {
24
private
Authorization
DoAuthenticate(string challenge, WebRequest webRequest, ICredentials credentials, bool preAuthenticate) {
134
public
Authorization
PreAuthenticate(WebRequest webRequest, ICredentials credentials) {
net\System\Net\AuthenticationManager.cs (4)
188
public static
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials)
196
public static
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials)
250
internal static void BindModule(Uri uri,
Authorization
response, IAuthenticationModule module)
400
internal static
Authorization
GetGroupAuthorization(
net\System\Net\Authorization.cs (4)
21
/// Creates a new instance of the <see cref='System.Net.
Authorization
'/> class with the specified
32
/// Creates a new instance of the <see cref='System.Net.
Authorization
'/> class with the specified
43
/// Creates a new instance of the <see cref='System.Net.
Authorization
'/> class with the specified
86
/// <para>Gets or sets the prefix for Uris that can be authenticated with the <see cref='System.Net.
Authorization
.Message'/> property.</para>
net\System\Net\IAuthenticationModule.cs (4)
15
/// <para>Returns an instance of the <see cref='System.Net.
Authorization
'/>
19
Authorization
Authenticate(string challenge, WebRequest request, ICredentials credentials);
22
/// <para>Returns an instance of the <see cref='System.Net.
Authorization
'/> class in response to an
25
Authorization
PreAuthenticate(WebRequest request, ICredentials credentials);
net\System\Net\mail\ISmtpAuthenticationModule.cs (1)
15
Authorization
Authenticate(string challenge, NetworkCredential credentials, object sessionCookie, string spn, ChannelBinding channelBindingToken);
net\System\Net\mail\smtpconnection.cs (5)
439
Authorization
auth = SetContextAndTryAuthenticate(authenticationModules[i], credential, null);
476
private
Authorization
SetContextAndTryAuthenticate(ISmtpAuthenticationModule module, NetworkCredential credential, ContextAwareResult context)
550
internal
Authorization
result;
983
Authorization
auth = connection.SetContextAndTryAuthenticate(module, credential, m_OuterResult);
1062
Authorization
auth = connection.authenticationModules[currentModule].Authenticate(authResponse, null, connection, connection.client.TargetName, connection.channelBindingToken);
net\System\Net\mail\SmtpDigestAuthenticationModule.cs (1)
35
public
Authorization
Authenticate(string challenge, NetworkCredential credential, object sessionCookie, string spn, ChannelBinding channelBindingToken)
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (1)
34
public
Authorization
Authenticate(string challenge, NetworkCredential credential, object sessionCookie, string spn, ChannelBinding channelBindingToken)
net\System\Net\mail\SmtpNegotiateAuthenticationModule.cs (1)
30
public
Authorization
Authenticate(string challenge, NetworkCredential credential, object sessionCookie, string spn, ChannelBinding channelBindingToken)
net\System\Net\mail\SmtpNtlmAuthenticationModule.cs (1)
36
public
Authorization
Authenticate(string challenge, NetworkCredential credential, object sessionCookie, string spn, ChannelBinding channelBindingToken)