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